@@ -48,10 +48,10 @@ dependencies = [
4848 " watchdog>=2.3.1" ,
4949]
5050urls.Source = " https://github.com/python-cachier/cachier"
51- scripts.cachier = " cachier.__main__:cli"
52-
5351# --- setuptools ---
5452
53+ scripts.cachier = " cachier.__main__:cli"
54+
5555[tool .setuptools ]
5656include-package-data = true
5757
@@ -67,13 +67,13 @@ include = [
6767] # package names should match these glob patterns (["*"] by default)
6868namespaces = false # to disable scanning PEP 420 namespaces (true by default)
6969
70-
7170# === Linting & Formatting ===
7271
7372[tool .black ]
7473line-length = 79
7574
7675# --- ruff ---
76+
7777[tool .ruff ]
7878target-version = " py38"
7979line-length = 79
@@ -130,6 +130,7 @@ lint.unfixable = [
130130 " F401" ,
131131]
132132
133+ # --- pylint ---
133134# [tool.ruff.pydocstyle]
134135# # Use Google-style docstrings.
135136# convention = "google"
@@ -138,23 +139,8 @@ lint.unfixable = [
138139# Unlike Flake8, default to a complexity level of 10.
139140lint.mccabe.max-complexity = 10
140141
141- # --- pylint ---
142- [tool .pylint .'MAIN' ]
143- ignore = [" CVS" ]
144- load-plugins = [" pylint.extensions.docparams" ]
145-
146- [tool .pylint .'FORMAT' ]
147- good-names = [" x" , " y" , " X" , " inter_X" , " inter_y" , " post_X" , " post_y" ]
148-
149- [tool .pylint .'DESIGN' ]
150- exclude-too-few-public-methods = [" .+" ]
151-
152- [tool .pylint .'MESSAGES CONTROL' ]
153- disable = [" R0911" , " R0913" , " R0903" ]
154-
155- # --- flake8 ---
156142[tool .flake8 ]
157- ignore = [" C901" , " E203" , " W503" ]
143+ ignore = [ " C901" , " E203" , " W503" ]
158144exclude = [
159145 " .git" ,
160146 " .github" ,
@@ -176,17 +162,33 @@ max-complexity = 10
176162max-line-length = 100
177163
178164# --- docformatter ---
165+
166+ [tool .pylint .'MAIN' ]
167+ ignore = [ " CVS" ]
168+ load-plugins = [ " pylint.extensions.docparams" ]
169+
170+ [tool .pylint .'FORMAT' ]
171+ good-names = [ " x" , " y" , " X" , " inter_X" , " inter_y" , " post_X" , " post_y" ]
172+
173+ [tool .pylint .'DESIGN' ]
174+ exclude-too-few-public-methods = [ " .+" ]
175+
176+ [tool .pylint .'MESSAGES CONTROL' ]
177+ disable = [ " R0911" , " R0913" , " R0903" ]
178+
179+ # --- flake8 ---
180+
179181[tool .docformatter ]
180182recursive = true
181183# some docstring start with r"""
182184wrap-summaries = 79
183185wrap-descriptions = 79
184186blank = true
185187
186-
187188# === Testing ===
188189
189190# --- pytest ---
191+
190192[tool .pytest .ini_options ]
191193testpaths = [
192194 " cachier" ,
@@ -211,6 +213,7 @@ markers = [
211213]
212214
213215# --- coverage ---
216+
214217[tool .coverage .run ]
215218branch = true
216219# dynamic_context = "test_function"
0 commit comments