Skip to content

Commit

Permalink
Add explicit typing in conftest and fix some type checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jace committed Jan 8, 2024
1 parent fc21891 commit 642de9a
Show file tree
Hide file tree
Showing 12 changed files with 461 additions and 327 deletions.
11 changes: 10 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,17 @@ repos:
rev: v1.6.1
hooks:
- id: check-pre-commit-ci-config
- repo: https://github.com/mxr/sync-pre-commit-deps
rev: v0.0.1
hooks:
- id: sync-pre-commit-deps
- repo: https://github.com/peterdemin/pip-compile-multi
rev: v2.6.3
hooks:
- id: pip-compile-multi-verify
files: ^requirements/.*\.(in|txt)$
- repo: https://github.com/pypa/pip-audit
rev: v2.6.2
rev: v2.6.3
hooks:
- id: pip-audit
args: [
Expand Down Expand Up @@ -106,6 +110,11 @@ repos:
hooks:
- id: flake8
additional_dependencies: *flake8deps
- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies: *flake8deps
- repo: https://github.com/PyCQA/pylint
rev: v3.0.3
hooks:
Expand Down
2 changes: 2 additions & 0 deletions requirements/dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ flake8-isort
flake8-logging-format
flake8-mutable
flake8-print
flake8-pyi
flake8-pytest-style
flask-debugtoolbar
isort
Expand All @@ -28,6 +29,7 @@ pylint
pyupgrade
reformat-gherkin
ruff
types-beautifulsoup4
types-chevron
types-geoip2
types-mock
Expand Down
6 changes: 5 additions & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SHA1:7bfc341e23494b80e1f77e06104f53470de16cfa
# SHA1:0cd06ec01e9387c7fb49ee7cf1c23119f773e460
#
# This file is autogenerated by pip-compile-multi
# To update, run:
Expand Down Expand Up @@ -163,10 +163,14 @@ tokenize-rt==5.2.0
# via pyupgrade
toposort==1.10
# via pip-compile-multi
types-beautifulsoup4==4.12.0.20240106
# via -r requirements/dev.in
types-chevron==0.14.2.20240106
# via -r requirements/dev.in
types-geoip2==3.0.0
# via -r requirements/dev.in
types-html5lib==1.1.11.20240106
# via types-beautifulsoup4
types-ipaddress==1.0.8
# via types-maxminddb
types-maxminddb==1.5.0
Expand Down
Loading

0 comments on commit 642de9a

Please sign in to comment.