-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6befdf9
commit 818f22b
Showing
1 changed file
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,18 @@ | ||
[project] | ||
name="djangocms-style" | ||
version="3.1.0" | ||
author="Divio AG" | ||
author_email="[email protected]" | ||
maintainer="Django CMS Association and contributors" | ||
maintainer_email="[email protected]" | ||
url="https://github.com/django-cms/djangocms-style" | ||
|
||
[tool.codespell] | ||
skip = '*.po' | ||
|
||
[tool.ruff] | ||
line-length = 119 | ||
select = [ | ||
lint.select = [ | ||
"E", # pycodestyle errors | ||
"W", # pycodestyle warnings | ||
"F", # pyflakes | ||
|
@@ -26,18 +35,18 @@ select = [ | |
"YTT", # flake8-2020 | ||
"RUF" | ||
] | ||
exclude = [ | ||
lint.exclude = [ | ||
".env", | ||
".venv", | ||
"**/migrations/**", | ||
] | ||
ignore = [ | ||
lint.ignore = [ | ||
"E501", # line too long | ||
"F403", # 'from module import *' used; unable to detect undefined names | ||
"E701", # multiple statements on one line (colon) | ||
"F401", # module imported but unused | ||
] | ||
[tool.ruff.per-file-ignores] | ||
[tool.ruff.lint.per-file-ignores] | ||
"setup.py" = [ | ||
"SIM115" # Use context handler for opening files | ||
] |