@@ -6,30 +6,22 @@ build-backend = 'hatchling.build'
66name  = ' inject' 
77dynamic  = [' version' 
88description  = ' Python dependency injection framework.' 
9- license = ' Apache-2.0' 
9+ license  =  ' Apache-2.0' 
1010readme  = ' README.md' 
11- authors  = [
12-     { 
name  = 
' Ivan Korobkov' , 
email  = 
' [email protected] '  },
13- ]
14- maintainers  = [
15-     { 
name  = 
' Ivan Korobkov' , 
email  = 
' [email protected] '  },
16- ]
11+ authors  = [{ 
name  = 
' Ivan Korobkov' , 
email  = 
' [email protected] '  }]
12+ maintainers  = [{ 
name  = 
' Ivan Korobkov' , 
email  = 
' [email protected] '  }]
1713classifiers  = [
1814    ' Development Status :: 5 - Production/Stable' 
1915    ' Intended Audience :: Developers' 
2016    ' License :: OSI Approved :: Apache Software License' 
2117    ' Operating System :: OS Independent' 
2218    ' Programming Language :: Python' 
23-     ' Programming Language :: Python :: 3.6' 
24-     ' Programming Language :: Python :: 3.7' 
25-     ' Programming Language :: Python :: 3.8' 
2619    ' Programming Language :: Python :: 3.9' 
2720    ' Programming Language :: Python :: 3.10' 
2821    ' Programming Language :: Python :: 3.11' 
2922    ' Topic :: Software Development :: Libraries :: Python Modules' 
3023]
31- dependencies  = [
32- ]
24+ dependencies  = []
3325
3426[project .scripts ]
3527
@@ -63,12 +55,7 @@ exclude = '''
6355version-file  = ' src/inject/_version.py' 
6456
6557[tool .hatch .build .targets .wheel ]
66- packages  = [
67-     ' src/inject' 
68- ]
69- 
70- [tool .hatch .build .targets .wheel .force-include ]
71- 'typeshed/pyi/inject'  = ' typeshed/pyi/inject' 
58+ packages  = [' src/inject' 
7259
7360[tool .hatch .build .targets .wheel .shared-data ]
7461
@@ -91,7 +78,6 @@ disallow_untyped_calls = true
9178disallow_untyped_decorators  = true 
9279disallow_untyped_defs  = true 
9380ignore_missing_imports  = true 
94- mypy_path  = [' typeshed/pyi' 
9581no_implicit_optional  = true 
9682python_version  = ' 3.11' 
9783warn_redundant_casts  = true 
@@ -104,25 +90,17 @@ defineConstant = { DEBUG = true }
10490exclude  = []
10591executionEnvironments  = []
10692ignore  = []
107- include  = [
108-     ' src/inject' 
109-     ' test' 
110- ]
93+ include  = [' src/inject' ' test' 
11194pythonPlatform  = ' Linux' 
11295pythonVersion  = ' 3.11' 
11396reportMissingImports  = true 
11497reportMissingTypeStubs  = false 
115- stubPath  = ' typeshed/import' 
11698
11799[tool .pytest .ini_options ]
118100addopts  = ' -rfEX --strict-markers --tb=long' 
119101minversion  = ' 7.2' 
120- python_files  = [
121-     ' test_*.py' 
122- ]
123- testpaths  = [
124-     ' ./test' 
125- ]
102+ python_files  = [' test_*.py' 
103+ testpaths  = [' ./test' 
126104
127105[tool .ruff ]
128106ignore  = [
@@ -131,12 +109,18 @@ ignore = [
131109    #  Allow boolean positional values in function calls, like `dict.get(... True)`
132110    ' FBT003' 
133111    #  Ignore checks for possible passwords
134-     ' S105' ' S106' ' S107' 
112+     ' S105' 
113+     ' S106' 
114+     ' S107' 
135115    #  Ignore complexity
136-     ' C901' ' PLR0911' ' PLR0912' ' PLR0913' ' PLR0915' 
116+     ' C901' 
117+     ' PLR0911' 
118+     ' PLR0912' 
119+     ' PLR0913' 
120+     ' PLR0915' 
137121    ' PLC1901' #  empty string comparisons
138122    ' PLW2901' #  `for` loop variable overwritten
139-     ' SIM114' #  Combine `if` branches using logical `or` operator
123+     ' SIM114'   #  Combine `if` branches using logical `or` operator
140124]
141125line-length  = 120 
142126select  = [
@@ -179,9 +163,7 @@ inline-quotes = 'single'
179163ban-relative-imports  = ' all' 
180164
181165[tool .ruff .isort ]
182- known-first-party  = [
183-     ' inject' 
184- ]
166+ known-first-party  = [' inject' 
185167
186168[tool .ruff .per-file-ignores ]
187169#  Tests can use magic values, assertions, and relative imports
0 commit comments