Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
- Loading branch information
1 parent
e62d69c
commit a1ccb95
Showing
48 changed files
with
463 additions
and
429 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,77 @@ | ||
--- | ||
default_language_version: | ||
# force all unspecified python hooks to run python3 | ||
python: python3 | ||
repos: | ||
- repo: https://github.com/psf/black | ||
rev: 19.10b0 | ||
hooks: | ||
- id: black | ||
args: [--safe] | ||
language_version: python3.8 | ||
- repo: https://github.com/asottile/blacken-docs | ||
rev: v1.6.0 | ||
hooks: | ||
- id: blacken-docs | ||
additional_dependencies: [black==19.10b0] | ||
language_version: python3.8 | ||
- repo: https://github.com/asottile/seed-isort-config | ||
rev: v2.1.1 | ||
hooks: | ||
- id: seed-isort-config | ||
args: [--application-directories, "src:."] | ||
- repo: https://github.com/pre-commit/mirrors-isort | ||
rev: v4.3.21 | ||
hooks: | ||
- id: isort | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v2.5.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: flake8 | ||
additional_dependencies: ["flake8-bugbear == 20.1.4"] | ||
language_version: python3.8 | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v2.3.0 | ||
hooks: | ||
- id: pyupgrade | ||
- repo: https://github.com/pre-commit/pygrep-hooks | ||
rev: v1.5.1 | ||
hooks: | ||
- id: rst-backticks | ||
- repo: local | ||
hooks: | ||
- id: changelogs-rst | ||
name: changelog filenames | ||
language: fail | ||
entry: 'changelog files must be named ####.(bugfix|feature|deprecation|breaking|doc|misc).rst' | ||
exclude: ^docs/changelog/(\d+\.(bugfix|feature|deprecation|breaking|doc|misc).rst|README.rst|template.jinja2) | ||
files: ^docs/changelog/ | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v3.0.1 | ||
hooks: | ||
- id: check-ast | ||
- id: check-builtin-literals | ||
- id: check-docstring-first | ||
- id: check-merge-conflict | ||
- id: check-yaml | ||
- id: check-toml | ||
- id: debug-statements | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- repo: https://github.com/asottile/add-trailing-comma | ||
rev: v2.0.1 | ||
hooks: | ||
- id: add-trailing-comma | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v2.4.3 | ||
hooks: | ||
- id: pyupgrade | ||
- repo: https://github.com/asottile/seed-isort-config | ||
rev: v2.1.1 | ||
hooks: | ||
- id: seed-isort-config | ||
args: | ||
- --application-directories | ||
- .:src | ||
- repo: https://github.com/pre-commit/mirrors-isort | ||
rev: v4.3.21 | ||
hooks: | ||
- id: isort | ||
- repo: https://github.com/ambv/black | ||
rev: 19.10b0 | ||
hooks: | ||
- id: black | ||
args: | ||
- --safe | ||
language_version: python3.8 | ||
- repo: https://github.com/asottile/blacken-docs | ||
rev: v1.7.0 | ||
hooks: | ||
- id: blacken-docs | ||
additional_dependencies: | ||
- black==19.10b0 | ||
language_version: python3.8 | ||
- repo: https://github.com/pre-commit/pygrep-hooks | ||
rev: v1.5.1 | ||
hooks: | ||
- id: rst-backticks | ||
- repo: https://github.com/asottile/setup-cfg-fmt | ||
rev: v1.9.0 | ||
hooks: | ||
- id: setup-cfg-fmt | ||
args: | ||
- --min-py3-version | ||
- '3.4' | ||
- repo: https://gitlab.com/pycqa/flake8 | ||
rev: 3.8.1 | ||
hooks: | ||
- id: flake8 | ||
additional_dependencies: | ||
- flake8-bugbear == 20.1.2 | ||
language_version: python3.8 | ||
- repo: local | ||
hooks: | ||
- id: changelogs-rst | ||
name: changelog filenames | ||
language: fail | ||
entry: >- | ||
changelog files must be named | ||
####.(bugfix|feature|deprecation|breaking|doc|misc).rst | ||
exclude: >- | ||
^docs/changelog/(\d+\.(bugfix|feature|deprecation|breaking|doc|misc).rst|README.rst|template.jinja2) | ||
files: ^docs/changelog/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,76 @@ | ||
# -*- coding: utf-8 -*- | ||
[metadata] | ||
name = tox | ||
description = tox is a generic virtualenv management and test command line tool | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
keywords = virtual, environments, isolated, testing | ||
maintainer = Bernat Gabor, Oliver Bestwalter, Anthony Asottile | ||
author = Holger Krekel, Oliver Bestwalter, Bernát Gábor and others | ||
maintainer-email = tox-dev@python.org | ||
url = http://tox.readthedocs.org | ||
project_urls = | ||
Source=https://github.com/tox-dev/tox | ||
Tracker=https://github.com/tox-dev/tox/issues | ||
platforms = any | ||
author = Holger Krekel, Oliver Bestwalter, Bernát Gábor and others | ||
license = MIT | ||
license_file = LICENSE | ||
platforms = any | ||
classifiers = | ||
Development Status :: 5 - Production/Stable | ||
Framework :: tox | ||
Intended Audience :: Developers | ||
License :: OSI Approved :: MIT License | ||
Operating System :: POSIX | ||
Operating System :: Microsoft :: Windows | ||
Operating System :: MacOS :: MacOS X | ||
Topic :: Software Development :: Testing | ||
Topic :: Software Development :: Libraries | ||
Topic :: Utilities | ||
Operating System :: Microsoft :: Windows | ||
Operating System :: POSIX | ||
Programming Language :: Python :: 2 | ||
Programming Language :: Python :: 2.7 | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.5 | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Topic :: Software Development :: Libraries | ||
Topic :: Software Development :: Testing | ||
Topic :: Utilities | ||
keywords = virtual, environments, isolated, testing | ||
maintainer = Bernat Gabor, Oliver Bestwalter, Anthony Asottile | ||
maintainer-email = tox-dev@python.org | ||
project_urls = | ||
Source=https://github.com/tox-dev/tox | ||
Tracker=https://github.com/tox-dev/tox/issues | ||
|
||
[options] | ||
packages = find: | ||
python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.* | ||
install_requires = | ||
importlib-metadata >= 0.12, <2;python_version<"3.8" | ||
packaging >= 14 | ||
pluggy >= 0.12.0, <1 | ||
py >= 1.4.17, <2 | ||
six >= 1.14.0, <2 # required when virtualenv>=20 | ||
virtualenv >= 16.0.0, !=20.0.0, !=20.0.1, !=20.0.2, !=20.0.3, !=20.0.4, !=20.0.5, !=20.0.6, !=20.0.7 | ||
toml >=0.9.4 | ||
filelock >= 3.0.0, <4 | ||
colorama >= 0.4.1 ;platform_system=="Windows" | ||
|
||
[options.packages.find] | ||
where = src | ||
filelock>=3.0.0 | ||
packaging>=14 | ||
pluggy>=0.12.0 | ||
py>=1.4.17 | ||
six>=1.14.0 # required when virtualenv>=20 | ||
toml>=0.9.4 | ||
virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0 | ||
colorama>=0.4.1 ;platform_system=="Windows" | ||
importlib-metadata>=0.12,<2;python_version<"3.8" | ||
python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.* | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
tox=tox:cmdline | ||
tox-quickstart=tox._quickstart:main | ||
|
||
[options.extras_require] | ||
testing = | ||
freezegun >= 0.3.11, <1 | ||
pathlib2 >= 2.3.3, <3 | ||
pytest >= 4.0.0, <6 | ||
pytest-cov >= 2.5.1, <3 | ||
pytest-mock >= 1.10.0, <2 | ||
pytest-xdist >= 1.22.2, <2 | ||
pytest-randomly >= 1.0.0, <4 | ||
psutil >= 5.6.1, < 6; python_version != "3.4" | ||
flaky >= 3.4.0, < 4 | ||
docs = | ||
sphinx >= 2.0.0, < 3 | ||
sphinx >= 2.0.0 | ||
towncrier >= 18.5.0 | ||
pygments-github-lexers >= 0.0.5 | ||
sphinxcontrib-autoprogram >= 0.1.5 | ||
testing = | ||
freezegun >= 0.3.11 | ||
pathlib2 >= 2.3.3 | ||
pytest >= 4.0.0 | ||
pytest-cov >= 2.5.1 | ||
pytest-mock >= 1.10.0 | ||
pytest-xdist >= 1.22.2 | ||
pytest-randomly >= 1.0.0 | ||
psutil >= 5.6.1; python_version != "3.4" | ||
flaky >= 3.4.0 | ||
|
||
[options.packages.find] | ||
where = src | ||
|
||
[bdist_wheel] | ||
universal = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.