@@ -19,6 +19,7 @@ doc = [
1919]
2020ide = [
2121 ' ipykernel' ,
22+ ' ipympl' ,
2223 ' ipython' ,
2324]
2425style = [
@@ -99,14 +100,15 @@ branch = true
99100cover_pylib = false
100101omit = [
101102 ' **/__init__.py' ,
102- ' **/conftest.py' ,
103103 ' **/template/_version.py' ,
104104 ' **/template/utils/_fixes.py' ,
105- ' **/tests/**' ,
106105]
107106
108107[tool .pytest .ini_options ]
109108addopts = [' --color=yes' , ' --cov-report=' , ' --durations=20' , ' --junit-xml=junit-results.xml' , ' --strict-config' , ' --tb=short' , ' -ra' , ' -v' ]
109+ filterwarnings = [
110+ ' error' ,
111+ ]
110112junit_family = ' xunit2'
111113minversion = ' 8.0'
112114
@@ -120,7 +122,10 @@ line-ending = "lf"
120122
121123[tool .ruff .lint ]
122124ignore = []
123- select = [' A' , ' B' , ' C4' , ' D' , ' E' , ' F' , ' G' , ' I' , ' LOG' , ' NPY' , ' PERF' , ' PIE' , ' PT' , ' T20' , ' UP' , ' W' ]
125+ select = [' A' , ' B' , ' C4' , ' D' , ' E' , ' F' , ' G' , ' I' , ' LOG' , ' NPY' , ' PERF' , ' PIE' , ' PT' , ' T20' , ' TID' , ' UP' , ' W' ]
126+
127+ [tool .ruff .lint .flake8-tidy-imports ]
128+ ban-relative-imports = " all"
124129
125130[tool .ruff .lint .per-file-ignores ]
126131'*' = [
@@ -129,7 +134,6 @@ select = ['A', 'B', 'C4', 'D', 'E', 'F', 'G', 'I', 'LOG', 'NPY', 'PERF', 'PIE',
129134 ' D104' , # 'Missing docstring in public package'
130135 ' D107' , # 'Missing docstring in __init__'
131136]
132- '*.pyi' = [' E501' ]
133137'__init__.py' = [' F401' ]
134138'tutorials/*' = [' D205' , ' D400' , ' T201' ]
135139
@@ -141,11 +145,11 @@ ignore-decorators = ["template.utils._docs.copy_doc"]
141145include-package-data = false
142146
143147[tool .setuptools .packages .find ]
144- exclude = [' template*tests' ]
145148include = [' template*' ]
149+ where = [' src' ]
146150
147151[tool .setuptools_scm ]
148- version_file = " template/_version.py"
152+ version_file = " src/ template/_version.py"
149153version_scheme = " release-branch-semver"
150154
151155[tool .tomlsort ]
0 commit comments