Skip to content

Commit

Permalink
Merge pull request #251 from sirosen/update-precommit
Browse files Browse the repository at this point in the history
Update pre-commit config
  • Loading branch information
sirosen committed Feb 6, 2023
2 parents fcd91d1 + bdf915c commit 9abd4b3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.31.0
rev: v3.3.1
hooks:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/python/black
rev: 22.3.0
rev: 23.1.0
hooks:
- id: black
language_version: python3
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
additional_dependencies: [flake8-bugbear==22.1.11, importlib-metadata==4.12.0]
additional_dependencies: [flake8-bugbear==23.1.20]
- repo: https://github.com/asottile/blacken-docs
rev: v1.12.1
rev: 1.13.0
hooks:
- id: blacken-docs
additional_dependencies: [black==22.3.0]
additional_dependencies: [black==23.1.0]
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
universal = 1

[flake8]
ignore = E203, E266, E501, W503
ignore = E203, E266, E501, W503, B907
max-line-length = 110
max-complexity = 18
select = B,C,E,F,W,T4,B9
1 change: 0 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ def book(id):

@pytest.yield_fixture(scope="function")
def app():

ctx = _app.test_request_context()
ctx.push()

Expand Down

0 comments on commit 9abd4b3

Please sign in to comment.