@@ -182,31 +182,31 @@ select = [
182182]
183183# fixable = [ "ALL" ]
184184unfixable = [
185- " PLR6104 " ,
185+ " non-augmented-assignment " ,
186186 " ERA" ,
187187 " T" ,
188188]
189189ignore = [
190- " ANN401 " , # - Any ok sometimes
191- " COM" , # - flake8-commas, formatter should take care of this?
192- " CPY" , # - Don't require copyright
193- " D105 " , # - Missing magic method docstring
194- " D107 " , # - Missing docstring in __init__
195- " D203 " , # - 1 blank line required before class docstring
196- " D205 " , # - blank line after summary
197- " D212 " , # - Multi-line docstring summary should start at the first line
198- " D400 " , # - First line should end with a period
199- " D401 " , # - First line of docstring should be in imperative mood: "{first_line}"
200- " DOC201 " , # - Missing return from documentation
201- " DOC501 " , # - Missing raises from documentation
202- " E501 " , # - line too long - let formatter fix this
203- " E731 " , # - do not assign a lambda expression, use a def
204- " FBT" , # - bools are ok
205- " PLC0415 " , # - import should be at top level (leads to issues with imports in func?)
206- " S404 " , # - Want to use subprocess sometimes
207- " S603 " , # - subprocess-without-shell-equals-true
208- " S607 " , # - start-process-with-partial-path
209- " TID252 " , # - Allow relative imports
190+ " any-type " , # - Any ok sometimes
191+ " COM" , # - flake8-commas, formatter should take care of this?
192+ " CPY" , # - Don't require copyright
193+ " undocumented-magic-method " , # - Missing magic method docstring
194+ " undocumented-public-init " , # - Missing docstring in __init__
195+ " incorrect-blank-line-before-class " , # - 1 blank line required before class docstring
196+ " missing-blank-line-after-summary " , # - blank line after summary
197+ " multi-line-summary-first-line " , # - Multi-line docstring summary should start at the first line
198+ " missing-trailing-period " , # - First line should end with a period
199+ " non-imperative-mood " , # - First line of docstring should be in imperative mood: "{first_line}"
200+ " docstring-missing-returns " , # - Missing return from documentation
201+ " docstring-missing-exception " , # - Missing raises from documentation
202+ " line-too-long " , # - line too long - let formatter fix this
203+ " lambda-assignment " , # - do not assign a lambda expression, use a def
204+ " FBT" , # - bools are ok
205+ " import-outside-top-level " , # - import should be at top level (leads to issues with imports in func?)
206+ " suspicious-subprocess-import " , # - Want to use subprocess sometimes
207+ " subprocess-without-shell-equals-true " , # - subprocess-without-shell-equals-true
208+ " start-process-with-partial-path " , # - start-process-with-partial-path
209+ " relative-imports " , # - Allow relative imports
210210]
211211isort.known-first-party = [
212212 " {{ cookiecutter.project_slug }}" ,
@@ -223,14 +223,14 @@ ruff.strictly-empty-init-modules = false
223223 " PD" , # - not using pandas?
224224]
225225"tests/**" = [
226- " D" , # - Don't need to document tests
227- " S101 " , # - Assert is fine with tests
226+ " D" , # - Don't need to document tests
227+ " assert " , # - Assert is fine with tests
228228]
229229{%- if cookiecutter.use_jupyter %}
230230"examples/**" = [
231- # "B018", # - Don't remove useless expressions in notebooks
232- # "D100", # - undocumented-public-module
233- # "INP001 ",
231+ # "useless-expression", # - Don't remove useless expressions in notebooks
232+ # "undocumented-public-module", # - undocumented-public-module
233+ # "implicit-namespace-package ",
234234]
235235{%- endif %}
236236
0 commit comments