Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exclude: >
repos:

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.3.0
rev: v4.0.1
hooks:
- id: check-json
- id: check-yaml
Expand All @@ -26,29 +26,29 @@ repos:
additional_dependencies: [setuptools>=46.4.0]

- repo: https://github.com/pycqa/isort
rev: 5.8.0
rev: 5.9.3
hooks:
- id: isort

- repo: https://github.com/psf/black
rev: 20.8b1
rev: 21.7b0
hooks:
- id: black

- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
hooks:
- id: flake8
additional_dependencies: [flake8-bugbear==21.3.1]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.790
rev: v0.910
hooks:
- id: mypy
additional_dependencies: []

- repo: https://github.com/asottile/setup-cfg-fmt
rev: v1.16.0
rev: v1.17.0
hooks:
- id: setup-cfg-fmt

Expand Down
11 changes: 7 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ install_requires =
python_requires = ~=3.6
include_package_data = True

[options.packages.find]
exclude =
test*

[options.extras_require]
code_style =
pre-commit~=2.12
Expand All @@ -55,17 +59,16 @@ theme_rtd =
theme_sbt =
sphinx-book-theme~=0.1.0

[options.packages.find]
exclude =
test*

[mypy]
show_error_codes = True
warn_unused_ignores = True
warn_redundant_casts = True
no_implicit_optional = True
strict_equality = True

[mypy-docutils.*]
ignore_missing_imports = True

[flake8]
max-line-length = 100
extend-ignore = E203