File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 11[tool .black ]
22line-length = 120
3- target-version = [" py312 " ]
3+ target-version = [" py313 " ]
44
55[tool .isort ]
66line_length = 115
77profile = " black"
8- py_version = 312
8+ py_version = 312 # isort doesn't support 3.13 yet
99use_parentheses = true
1010# # Ignore the source of the import and just sort alphabetically, with "from" before "import"
1111combine_as_imports = true
@@ -19,6 +19,8 @@ no_sections = true
1919python_files = " tests.py test_*.py"
2020# Disable warnings from third-party libraries
2121filterwarnings = " ignore::DeprecationWarning"
22+ # If you are using django, set the settings here
23+ # DJANGO_SETTINGS_MODULE = django_project.settings
2224
2325[tool .ruff ]
2426lint.extend-ignore = [
@@ -81,7 +83,7 @@ lint.select = [
8183 " W" , # pycodestyle warnings
8284 " YTT" , # flake8 2020
8385]
84- target-version = " py312 "
86+ target-version = " py313 "
8587# Certain errors we don't want to fix because they are too aggressive,
86- # especially in the editor (removing variables we haven't used yet
88+ # especially in the editor (removing variables we haven't used yet)
8789lint.unfixable = [" F401" , " F841" ]
You can’t perform that action at this time.
0 commit comments