Skip to content

Commit b7e501a

Browse files
authored
Merge branch 'main' into validation-error-fields
2 parents 3c3421f + d79adc4 commit b7e501a

File tree

3 files changed

+32
-11
lines changed

3 files changed

+32
-11
lines changed

.pre-commit-config.yaml

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,42 @@ repos:
33
- repo: local
44
hooks:
55
- id: system
6-
name: mypy
7-
entry: poetry run tox -e mypy-current
6+
name: pyupgrade
7+
entry: poetry run -- tox r -e pyupgrade -- --exit-zero-even-if-changed
88
pass_filenames: false
99
language: system
1010
- repo: local
1111
hooks:
1212
- id: system
1313
name: isort
14-
entry: poetry run isort -c .
14+
entry: poetry run -- tox r -e isort
15+
pass_filenames: false
16+
language: system
17+
- repo: local
18+
hooks:
19+
- id: system
20+
name: autopep8
21+
entry: poetry run -- tox r -e autopep8
1522
pass_filenames: false
1623
language: system
1724
- repo: local
1825
hooks:
1926
- id: system
2027
name: flake8
21-
entry: poetry run flake8 cyclonedx/ tests/
28+
entry: poetry run -- tox r -e flake8
29+
pass_filenames: false
30+
language: system
31+
- repo: local
32+
hooks:
33+
- id: system
34+
name: mypy
35+
entry: poetry run -- tox -e mypy-current
36+
pass_filenames: false
37+
language: system
38+
- repo: local
39+
hooks:
40+
- id: system
41+
name: bandit
42+
entry: poetry run -- tox r -e bandit
2243
pass_filenames: false
2344
language: system

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ poetry install --all-extras
2121

2222
## Code style
2323

24-
THis project loves latest python features.
24+
THis project loves latest python features.
25+
This project loves sorted imports.
2526
This project uses [PEP8] Style Guide for Python Code.
26-
This project loves sorted imports.
2727

2828
Get it all applied via:
2929

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ xml-validation = ["lxml"]
8282

8383
[tool.poetry.group.dev.dependencies]
8484
ddt = "1.7.2"
85-
coverage = "7.8.2"
86-
flake8 = "7.2.0"
85+
coverage = "7.9.1"
86+
flake8 = "7.3.0"
8787
flake8-annotations = "3.1.1"
8888
flake8-bugbear = "24.12.12"
8989
flake8-copyright-validator = "0.0.1"
@@ -93,11 +93,11 @@ flake8-use-fstring = "1.4"
9393
pep8-naming = "0.15.1"
9494
isort = "6.0.1"
9595
autopep8 = "2.3.2"
96-
mypy = "1.16.0"
96+
mypy = "1.16.1"
9797
tomli = { version = "2.2.1", python = "<3.11" }
98-
tox = "4.26.0"
98+
tox = "4.27.0"
9999
xmldiff = "2.7.0"
100-
bandit = "1.8.3"
100+
bandit = "1.8.5"
101101
pyupgrade = "3.20.0"
102102

103103
[tool.semantic_release]

0 commit comments

Comments
 (0)