diff options
| -rw-r--r-- | setup.cfg | 3 | ||||
| -rw-r--r-- | setup.py | 3 | ||||
| -rw-r--r-- | tox.ini | 13 |
3 files changed, 18 insertions, 1 deletions
@@ -8,6 +8,9 @@ universal=1 requires-dist = enum34; python_version<"3.4" configparser; python_version<"3.2" + pyflakes >= 0.8.1, != 1.2.0, != 1.2.1, != 1.2.2, < 1.3.0 + pycodestyle >= 2.0.0, < 2.1.0 + mccabe >= 0.5.0, < 0.6.0 [pytest] norecursedirs = .git .* *.egg* old docs dist build @@ -115,7 +115,8 @@ setuptools.setup( PEP8_PLUGIN('comparison_to_singleton'), PEP8_PLUGIN('comparison_negative'), PEP8_PLUGIN('comparison_type'), - PEP8_PLUGIN('ambiguous_identifier'), + # NOTE(sigmavirus24): Add this back once PyCodestyle 2.1.0 is out + # PEP8_PLUGIN('ambiguous_identifier'), PEP8_PLUGIN('python_3000_has_key'), PEP8_PLUGIN('python_3000_raise_comma'), PEP8_PLUGIN('python_3000_not_equal'), @@ -108,6 +108,19 @@ deps = commands = python setup.py check -r -s +[testenv:release] +skipsdist = true +basepython = python3 +skip_install = true +use_develop = false +deps = + wheel + setuptools + twine >= 1.5.0 +commands = + python setup.py -q sdist bdist_wheel + twine upload --skip-existing dist/* + # Flake8 Configuration [flake8] # Ignore some flake8-docstrings errors |
