File tree Expand file tree Collapse file tree 2 files changed +23
-20
lines changed Expand file tree Collapse file tree 2 files changed +23
-20
lines changed Original file line number Diff line number Diff line change 27
27
- id : blackdoc
28
28
29
29
- repo : https://github.com/codespell-project/codespell
30
- rev : v2.2.6
30
+ rev : v2.3.0
31
31
hooks :
32
32
- id : codespell
33
33
exclude : >
@@ -51,12 +51,12 @@ repos:
51
51
- id : add-trailing-comma
52
52
53
53
- repo : https://github.com/astral-sh/ruff-pre-commit
54
- rev : v0.4.3
54
+ rev : v0.4.7
55
55
hooks :
56
56
- id : ruff
57
57
58
58
- repo : https://github.com/tox-dev/pyproject-fmt
59
- rev : 1.8.0
59
+ rev : 2.1.3
60
60
hooks :
61
61
- id : pyproject-fmt
62
62
Original file line number Diff line number Diff line change 2
2
build-backend = " setuptools.build_meta"
3
3
requires = [
4
4
" setuptools>=41.2" ,
5
- " setuptools_scm " ,
5
+ " setuptools-scm " ,
6
6
" wheel" ,
7
7
]
8
8
9
9
[tool .ruff ]
10
- select = [
11
- " A" , # flake8-builtins
12
- " B" , # flake8-bugbear
13
- " C4" , # flake8-comprehensions
14
- " F" , # flakes
15
- " I" , # import sorting
16
- " T20" , # flake8-print
17
- " UP" , # upgrade
18
- ]
19
10
target-version = " py38"
20
11
line-length = 79
21
12
22
- [tool .ruff .per-file-ignores ]
23
- "docs/conf.py" = [
13
+ select = [
14
+ " A" , # flake8-builtins
15
+ " B" , # flake8-bugbear
16
+ " C4" , # flake8-comprehensions
17
+ " F" , # flakes
18
+ " I" , # import sorting
19
+ " T20" , # flake8-print
20
+ " UP" , # upgrade
21
+ ]
22
+ per-file-ignores."docs/conf.py" = [
24
23
" A001" ,
25
24
]
26
- "samples/example_by.py" = [
27
- " T201" ,
25
+ per-file-ignores. "samples/example_by.py" = [
26
+ " T201" ,
28
27
]
29
- "samples/example_pdf_by.py" = [
30
- " T201" ,
28
+ per-file-ignores. "samples/example_pdf_by.py" = [
29
+ " T201" ,
31
30
]
32
31
33
32
[tool .interrogate ]
@@ -38,7 +37,11 @@ ignore-semiprivate = false
38
37
ignore-private = false
39
38
ignore-module = false
40
39
fail-under = 70
41
- exclude = [" setup.py" , " docs" , " tests" ]
40
+ exclude = [
41
+ " setup.py" ,
42
+ " docs" ,
43
+ " tests" ,
44
+ ]
42
45
verbose = 1
43
46
quiet = false
44
47
color = true
You can’t perform that action at this time.
0 commit comments