diff --git a/.gitignore b/.gitignore index ef7ce74..1d68ee7 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,4 @@ __pycache__ build dist -src/pytask_latex/_version.py +src/pytask_environment/_version.py diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c9cf57f..c7306ad 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,25 +22,25 @@ repos: - id: rst-inline-touching-normal - id: text-unicode-replacement-char - repo: https://github.com/asottile/pyupgrade - rev: v2.21.2 + rev: v2.29.1 hooks: - id: pyupgrade args: [--py36-plus] - repo: https://github.com/asottile/reorder_python_imports - rev: v2.5.0 + rev: v2.6.0 hooks: - id: reorder-python-imports - repo: https://github.com/psf/black - rev: 21.7b0 + rev: 21.11b1 hooks: - id: black - repo: https://github.com/asottile/blacken-docs - rev: v1.10.0 + rev: v1.12.0 hooks: - id: blacken-docs additional_dependencies: [black] -- repo: https://gitlab.com/pycqa/flake8 - rev: 3.9.2 +- repo: https://github.com/PyCQA/flake8 + rev: 4.0.1 hooks: - id: flake8 types: [python] @@ -61,15 +61,15 @@ repos: Pygments, ] - repo: https://github.com/PyCQA/doc8 - rev: 0.9.0 + rev: 0.10.1 hooks: - id: doc8 - repo: https://github.com/asottile/setup-cfg-fmt - rev: v1.17.0 + rev: v1.20.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/econchick/interrogate - rev: 1.4.0 + rev: 1.5.0 hooks: - id: interrogate args: [-v, --fail-under=40, src, tests] @@ -79,7 +79,7 @@ repos: - id: codespell args: [-L als, -L unparseable] - repo: https://github.com/mgedmin/check-manifest - rev: "0.46" + rev: "0.47" hooks: - id: check-manifest - repo: meta diff --git a/setup.cfg b/setup.cfg index 2f4cd0a..c4ca642 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,6 +19,7 @@ classifiers = Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 project_urls = Changelog = https://github.com/pytask-dev/pytask-environment/blob/main/CHANGES.rst Documentation = https://github.com/pytask-dev/pytask-environment @@ -42,3 +43,7 @@ where = src [options.entry_points] pytask = pytask_environment = pytask_environment.plugin + +[check-manifest] +ignore = + src/pytask_environment/_version.py diff --git a/tox.ini b/tox.ini index 792ea36..e774957 100644 --- a/tox.ini +++ b/tox.ini @@ -17,7 +17,7 @@ conda_channels = conda-forge nodefaults commands = - pip install --no-deps . + pip install -e . pytest {posargs} [testenv:pre-commit]