diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7c33570..2df3b92 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,7 +31,7 @@ jobs: - tox_env: "py39-pytestlatest" python: "3.9" - tox_env: "py310-pytestlatest" - python: "3.10-dev" + python: "3.10" - tox_env: "py38-pytestmain" python: "3.8" - tox_env: "py38-psutil" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6c17dfd..081c54f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,11 +1,11 @@ repos: - repo: https://github.com/PyCQA/autoflake - rev: v1.7.6 + rev: v1.7.7 hooks: - id: autoflake args: ["--in-place", "--remove-unused-variables", "--remove-all-unused-imports"] - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 22.10.0 hooks: - id: black args: [--safe, --quiet, --target-version, py35] @@ -15,18 +15,18 @@ repos: - id: blacken-docs additional_dependencies: [black==20.8b1] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.2.0 + rev: v4.3.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: debug-statements - repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 + rev: 5.0.4 hooks: - id: flake8 - repo: https://github.com/asottile/pyupgrade - rev: v2.32.1 + rev: v3.2.0 hooks: - id: pyupgrade args: [--py3-plus] @@ -39,7 +39,7 @@ repos: language: python additional_dependencies: [pygments, restructuredtext_lint] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.960 + rev: v0.982 hooks: - id: mypy files: ^(src/|testing/) diff --git a/setup.cfg b/setup.cfg index b6091ff..9b4a3dd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -60,6 +60,8 @@ psutil = psutil>=3.0 setproctitle = setproctitle [flake8] +# Ignore any errors related to formatting, let black worry/fix them. +ignore = E501, W503, E203 max-line-length = 100 [mypy]