-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathpyproject.toml
38 lines (36 loc) · 1.47 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[project]
name = "python-social-auth-examples"
requires-python = ">=3.11"
version = "2025.0"
[tool.ruff.lint]
ignore = [
"S106", # CONFIG: Possible hardcoded password assigned
"S105", # CONFIG: Possible hardcoded password assigned
"S104", # CONFIG: Possible binding to all interfaces
"COM", # CONFIG: No trailing commas
"D203", # CONFIG: incompatible with D211
"D212", # CONFIG: incompatible with D213
"E501", # WONTFIX: we accept long strings (rest is formatted by ruff)
'ISC001', # CONFIG: formatter
"T201", # CONFIG: print is used
"S603", # CONFIG: subprocess is being used
"S607", # CONFIG: subprocess executes system tools
"EM101", # TODO: Exception must not use a string literal
"TRY003", # TODO: Avoid specifying long messages outside the exception class
"ARG001", # TODO: Unused function argument
"ARG005", # TODO: Unused lambda argument
"SLF001", # TODO: Private member accessed
"PLR2004", # TODO: Magic value used in comparison
"FBT002", # TODO: Boolean default positional argument in function definition
"FBT003", # TODO: Boolean positional value in function call
"ANN", # TODO: missing type annotations
"N", # TODO: wrong naming conventions
"PTH", # TODO: not using pathlib
"D" # TODO: missing documentation
]
select = ["ALL"]
[tool.ruff.lint.per-file-ignores]
"example-*/**settings.py" = ["ERA001"]
"example-*/manage.py" = ["INP001"]
"example-*/setup.py" = ["INP001"]
"example-django/app/migrations/*.py" = ["RUF012"]