-
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.
* ci: pre-commit autoupdate updates: - [github.com/asottile/pyupgrade: v3.19.0 → v3.19.1](asottile/pyupgrade@v3.19.0...v3.19.1) - [github.com/astral-sh/ruff-pre-commit: v0.8.1 → v0.8.6](astral-sh/ruff-pre-commit@v0.8.1...v0.8.6) * ci: auto fixes from pre-commit hooks for more information, see https://pre-commit.ci * fix: typo * fix: try to fix the ci process --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Vinit Kumar <[email protected]>
- Loading branch information
1 parent
ddce432
commit 8ce49cb
Showing
4 changed files
with
17 additions
and
8 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 |
---|---|---|
|
@@ -24,4 +24,4 @@ jobs: | |
pip install ruff | ||
- name: Run Ruff | ||
run: | | ||
ruff djangocms_style | ||
ruff check djangocms_style |
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
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 | ||
] |
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