Apply consistent Python and Django coding standards
This commit is contained in:
1 parent
1d0b5adeee
commit
d7314fa927
61 files changed
+1829
-603
No files matched your search
+8
-2
@@ -23,7 +23,7 @@ coulobre-mail-node = "coulobre.mail_node:main"
|
||||
coulobre-web-node = "coulobre.web_node:main"
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = ["ruff>=0.11,<1"]
|
||||
dev = ["ruff==0.17.6"]
|
||||
mariadb = ["mysqlclient>=2.2.1,<3"]
|
||||
server = ["gunicorn>=27.0.1,<28"]
|
||||
|
||||
@@ -38,6 +38,12 @@ server = ["gunicorn>=27.0.1,<28"]
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py312"
|
||||
line-length = 79
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E4", "E7", "E9", "F", "I"]
|
||||
select = ["B", "DJ", "E", "F", "I", "N", "RUF100", "SIM", "UP", "W"]
|
||||
# Internal records only need a string representation when displayed to users.
|
||||
ignore = ["DJ008"]
|
||||
|
||||
[tool.ruff.lint.pycodestyle]
|
||||
max-doc-length = 72
|
||||
Reference in new issue
Block a user