@@ -17,7 +17,9 @@ keywords = [
17
17
" user" ,
18
18
]
19
19
license = " Unlicense"
20
- maintainers = [{
name =
" Bernát Gábor" ,
email =
" [email protected] " }]
20
+ maintainers = [
21
+ {
name =
" Bernát Gábor" ,
email =
" [email protected] " },
22
+ ]
21
23
requires-python = " >=3.8"
22
24
classifiers = [
23
25
" Development Status :: 5 - Production/Stable" ,
@@ -53,7 +55,7 @@ optional-dependencies.testing = [
53
55
" pytest-timeout>=2.2" ,
54
56
]
55
57
optional-dependencies.typing = [
56
- ' typing-extensions>=4.8; python_version < " 3.11" ' ,
58
+ " typing-extensions>=4.8; python_version<' 3.11' " ,
57
59
]
58
60
urls.Documentation = " https://py-filelock.readthedocs.io"
59
61
urls.Homepage = " https://github.com/tox-dev/py-filelock"
@@ -62,14 +64,24 @@ urls.Tracker = "https://github.com/tox-dev/py-filelock/issues"
62
64
63
65
[tool .hatch ]
64
66
build.hooks.vcs.version-file = " src/filelock/version.py"
65
- build.targets.sdist.include = [" /src" , " /tests" , " /tox.ini" ]
67
+ build.targets.sdist.include = [
68
+ " /src" ,
69
+ " /tests" ,
70
+ " /tox.ini" ,
71
+ ]
66
72
version.source = " vcs"
67
73
68
74
[tool .ruff ]
69
75
line-length = 120
70
76
target-version = " py38"
71
- lint.isort = { known-first-party = [" filelock" ], required-imports = [" from __future__ import annotations" ] }
72
- lint.select = [" ALL" ]
77
+ lint.isort = { known-first-party = [
78
+ " filelock" ,
79
+ ], required-imports = [
80
+ " from __future__ import annotations" ,
81
+ ] }
82
+ lint.select = [
83
+ " ALL" ,
84
+ ]
73
85
lint.ignore = [
74
86
" ANN101" , # Missing type annotation for `self` in method
75
87
" D301" , # Use `r"""` if any backslashes in a docstring
@@ -105,14 +117,31 @@ ignore-words-list = "master"
105
117
[tool .coverage ]
106
118
html.show_contexts = true
107
119
html.skip_covered = false
108
- paths.source = [" src" , " .tox/*/lib/*/site-packages" , " .tox\\ *\\ Lib\\ site-packages" , " **/src" , " **\\ src" ]
109
- paths.other = [" ." , " */filelock" , " *\\ filelock" ]
120
+ paths.source = [
121
+ " src" ,
122
+ " .tox/*/lib/*/site-packages" ,
123
+ " .tox\\ *\\ Lib\\ site-packages" ,
124
+ " **/src" ,
125
+ " **\\ src" ,
126
+ ]
127
+ paths.other = [
128
+ " ." ,
129
+ " */filelock" ,
130
+ " *\\ filelock" ,
131
+ ]
110
132
report.fail_under = 76
111
133
run.parallel = true
112
- run.plugins = [" covdefaults" ]
134
+ run.plugins = [
135
+ " covdefaults" ,
136
+ ]
113
137
114
138
[tool .mypy ]
115
139
python_version = " 3.11"
116
140
show_error_codes = true
117
141
strict = true
118
- overrides = [{ module = [" appdirs.*" , " jnius.*" ], ignore_missing_imports = true }]
142
+ overrides = [
143
+ { module = [
144
+ " appdirs.*" ,
145
+ " jnius.*" ,
146
+ ], ignore_missing_imports = true },
147
+ ]
0 commit comments