Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#69)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 22.6.0 → 22.8.0](psf/black@22.6.0...22.8.0)
- [github.com/asottile/pyupgrade: v2.37.1 → v2.37.3](asottile/pyupgrade@v2.37.1...v2.37.3)
- [github.com/pycqa/flake8: 4.0.1 → 5.0.4](PyCQA/flake8@4.0.1...5.0.4)
- [github.com/pre-commit/mirrors-mypy: v0.961 → v0.971](pre-commit/mirrors-mypy@v0.961...v0.971)
- [github.com/codespell-project/codespell: v2.1.0 → v2.2.1](codespell-project/codespell@v2.1.0...v2.2.1)

* fix: drop usage of pflake8

Signed-off-by: Henry Schreiner <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Signed-off-by: Henry Schreiner <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Henry Schreiner <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and henryiii authored Sep 6, 2022
1 parent 75df094 commit 66bbb61
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
6 changes: 6 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[flake8]
extend-ignore = B950,E501
extend-select = B9
per-file-ignores =
tests/*: T
noxfile.py: T
13 changes: 6 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 22.6.0
rev: 22.8.0
hooks:
- id: black

Expand All @@ -24,21 +24,20 @@ repos:
- id: isort

- repo: https://github.com/asottile/pyupgrade
rev: v2.37.1
rev: v2.37.3
hooks:
- id: pyupgrade
args: ["--py36-plus"]

- repo: https://github.com/pycqa/flake8
rev: 4.0.1
rev: 5.0.4
hooks:
- id: flake8
exclude: docs/conf.py
entry: pflake8
additional_dependencies: [pyproject-flake8, flake8-bugbear, flake8-print]
additional_dependencies: [flake8-bugbear, flake8-print]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.961
rev: v0.971
hooks:
- id: mypy
files: ^(src|tests)
Expand All @@ -58,7 +57,7 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
rev: v2.2.1
hooks:
- id: codespell
args: ["-L", "hist,thist,ans,nd,gaus"]
Expand Down
9 changes: 0 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,3 @@ files = "src"
python_version = "3.6"
warn_unused_configs = "true"
strict = true


[tool.flake8]
extend-ignore = "B950,E501"
extend-select = "B9"
per-file-ignores = """
tests/*: T
noxfile.py: T
"""

0 comments on commit 66bbb61

Please sign in to comment.