Skip to content

Commit 250b6f2

Browse files
committed
fix: Ruff-related Warnings and typo
1 parent 3bb184b commit 250b6f2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ exclude = [
44
".venv",
55
"**/migrations/**",
66
]
7-
ignore = [
7+
lint.ignore = [
88
"E501", # line too long
99
"F403", # 'from module import *' used; unable to detect undefined names
1010
"E701", # multiple statements on one line (colon)
1111
"F401", # module imported but unused
1212
]
1313
line-length = 119
14-
select = [
14+
lint.select = [
1515
"I",
1616
"E",
1717
"F",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ commands =
2020

2121
[testenv:ruff]
2222
deps = ruff
23-
commands = ruff djangocms_file
23+
commands = ruff check djangocms_file
2424
skip_install = true

0 commit comments

Comments
 (0)