<commit_before>[tox]
minversion = 2.4
envlist = py27,py33,py34,py35,py36,py37,py2pep8,py3pep8,docs

[testenv]
extras =
    async
    test
deps =
    coverage
commands =
    # We use parallel mode and then combine here so that coverage.py will take
    # the paths like .tox/py34/lib/python3.4/site-packages/spacetrack/__init__.py
    # and collapse them into spacetrack/__init__.py.
    coverage run --parallel-mode -m pytest {posargs}
    coverage combine
    coverage report -m

[testenv:py2pep8]
basepython = python2.7
extras =
    pep8test
commands =
    flake8 . --exclude=aio.py,test_aio.py,.git,__pycache__,.tox

[testenv:py3pep8]
basepython = python3.7
extras =
    pep8test
commands =
    flake8 .

[testenv:docs]
basepython = python3.7
extras =
    async
    docstest
commands =
    sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
    sphinx-build -W -b spelling docs docs/_build/html
    doc8 docs/

[flake8]
# FI12: Forbid 'from __future__ import with_statement'
# FI50: Require 'from __future__ import division'
# FI51: Require 'from __future__ import absolute_import'
# FI53: Require 'from __future__ import print_function'
# FI14,FI54: Make 'from __future__ import unicode_literals' optional
# FI15: Forbid 'from __future__ import generator_stop'
# FI16: Forbit 'from __future__ import nested_scopes'
# FI17: Forbit 'from __future__ import generators'
ignore = FI12,FI50,FI51,FI53,FI14,FI54,FI15,FI16,FI17,W504
accept-encodings = utf-8
# Should aim for 80, but don't warn until 90.
max-line-length = 90<commit_msg>Fix new flake8-future-import rule<commit_after>[tox]
minversion = 2.4
envlist = py27,py33,py34,py35,py36,py37,py2pep8,py3pep8,docs

[testenv]
extras =
    async
    test
deps =
    coverage
commands =
    # We use parallel mode and then combine here so that coverage.py will take
    # the paths like .tox/py34/lib/python3.4/site-packages/spacetrack/__init__.py
    # and collapse them into spacetrack/__init__.py.
    coverage run --parallel-mode -m pytest {posargs}
    coverage combine
    coverage report -m

[testenv:py2pep8]
basepython = python2.7
extras =
    pep8test
commands =
    flake8 . --exclude=aio.py,test_aio.py,.git,__pycache__,.tox

[testenv:py3pep8]
basepython = python3.7
extras =
    pep8test
commands =
    flake8 .

[testenv:docs]
basepython = python3.7
extras =
    async
    docstest
commands =
    sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
    sphinx-build -W -b spelling docs docs/_build/html
    doc8 docs/

[flake8]
# FI12: Forbid 'from __future__ import with_statement'
# FI50: Require 'from __future__ import division'
# FI51: Require 'from __future__ import absolute_import'
# FI53: Require 'from __future__ import print_function'
# FI14,FI54: Make 'from __future__ import unicode_literals' optional
# FI15: Forbid 'from __future__ import generator_stop'
# FI16: Forbid 'from __future__ import nested_scopes'
# FI17: Forbid 'from __future__ import generators'
# FI18: Forbid 'from __future__ import annotations'
ignore = FI12,FI50,FI51,FI53,FI14,FI54,FI15,FI16,FI17,FI18,W504
accept-encodings = utf-8
# Should aim for 80, but don't warn until 90.
max-line-length = 90
{'fraction_non_alphanumeric': 0.09594212016357345, 'fraction_numerical': 0.05441962881409248, 'mean_word_length': 4.120772946859903, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1603576', 'n_tokens_mistral': 1253, 'n_tokens_neox': 1155, 'n_words': 304}