summaryrefslogtreecommitdiff
path: root/setup.cfg
Commit message (Collapse)AuthorAgeFilesLines
* Report coverageDaniel Hahler2019-03-011-0/+3
| | | | | | | - add coverage factor to tox - report coverage to codecov.io - configure testpaths for pytest, instead of passing it through tox command
* disable warn_no_return for mypyMaxim Kurnikov2019-02-251-1/+2
|
* Merge branch 'update-flake8-to-3.7.6' into add-type-annotationsMaxim Kurnikov2019-02-251-1/+3
|\
| * update flake8 to 3.7.6Maxim Kurnikov2019-02-251-1/+3
| |
* | add mypy to CIMaxim Kurnikov2019-02-251-0/+5
|/
* Make isort run with Python 3 onlyJon Dufresne2019-02-161-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | As isort is primarily used as a command-line tool, it is in a good position to move to Python 3 only. Other command-line-only tools have begun moving to Python 3. For example: black, mypy, pylint, and Sphinx. It will continue to support formatting Python 2 code, so users can still format their Python 2 projects. Allows for many code cleanups. By removing these workarounds, the project will be easier to maintain and reduce testing resources. Python 2 is scheduled to be EOL on January 1, 2020. The Python community is moving on. https://www.python.org/dev/peps/pep-0373/ For reasons to drop Python 2 support, see: https://python3statement.org/ For an overview of projects that have dropped Python 2 support entirely, see: https://hugovk.github.io/drop-python/2.7/ Fixes #808
* Use environment markers to define Python2 specific dependenciesJon Dufresne2018-03-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "futures" package need only be installed on Python 2. To specify a conditional dependency, setuptools, pip, and wheel support "environment markers". Use this mechanism instead of adding install time logic to the setup.py file. Allows restoring universal wheel support, allowing a single wheel for all version of Python. For additional details on wheel support for environment markers, see the documentation at: https://wheel.readthedocs.io/en/stable/index.html#defining-conditional-dependencies > Defining conditional dependencies > > In wheel, the only way to have conditional dependencies (that might > only be needed on certain platforms) is to use environment markers as > defined by PEP 426. > > ... > > As of setuptools 36.2.1, you can pass extras as part of > install_requires. The above requirements could thus be written like > this: > > install_requires=[ > 'argparse; python_version=="2.6"', > 'keyring; extra=="signatures"', > 'pyxdg; extra=="signatures" and sys_platform!="win32"', > 'ed25519ll; extra=="faster-signatures"' > ]
* Conditonal dependency for futuresTimothy Crosley2018-02-011-3/+0
|
* Include license file in the generated wheel packageJon Dufresne2017-10-151-0/+3
| | | | | | | | The wheel package format supports including the license file. This is done using the [metadata] section in the setup.cfg file. For additional information on this feature, see: https://wheel.readthedocs.io/en/stable/index.html#including-the-license-in-the-generated-wheel-file
* Increase flake8 coverageEd Morley2017-06-021-1/+7
| | | | | | | | | Enables more of flake8's default rules and makes CI check all files, not just a subset. Also pins the version of flake8 to avoid CI non-determinism when newer versions add/adjust the default rules. The `# noqa: F401` entries in `pie_slice.py` are required due to: https://github.com/PyCQA/pyflakes/issues/276
* setup.cfg - fix [wheel] -> [bdist_wheel]Adam Chainz2016-04-151-1/+1
| | | | [wheel] is legacy, [bdist_wheel] is the future. See https://bitbucket.org/pypa/wheel/src/4da780b849affbff98a0defb21ad1f30a94d6f57/wheel/bdist_wheel.py?at=default&fileviewer=file-view-default#bdist_wheel.py-119
* Added flake8 configuration.Derrick Petzold2015-05-301-0/+4
|
* Add wheel supportTimothy Crosley2013-11-141-0/+2