forked from darklow/django-suit
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
13 changed files
with
66 additions
and
27 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
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[tool.ruff] | ||
# https://docs.astral.sh/ruff/configuration/#using-pyprojecttoml | ||
|
||
fix = true | ||
|
||
ignore = [ | ||
"E203", # Whitespace before '{symbol}' | ||
"F401", # {name} imported but unused | ||
] | ||
|
||
line-length = 120 | ||
|
||
# https://docs.astral.sh/ruff/rules/ | ||
select = [ | ||
# First two lines represent default flake8 configuration | ||
"E", "W", # PyCodestyle | ||
"F", # PyFlakes | ||
"T10", # flake8-debugger: catch debug statements | ||
"T20", # flake8-print: catch print statements | ||
"UP025", # unicode-kind-prefix: Prevent unicode prefix in strings | ||
"I", # isort: Check import order and add missing required imports | ||
] | ||
|
||
show-fixes = true | ||
|
||
[tool.ruff.isort] | ||
# https://docs.astral.sh/ruff/settings/#isort | ||
# Combine aliased imports into the same import statement. | ||
combine-as-imports = true | ||
# With imports including at least one alias, force each imported member to its own line. | ||
force-wrap-aliases = true | ||
# Do not sort imports by type (constant, class, function, etc.). | ||
# Instead, sort them alphabetically and case-insensitively. | ||
order-by-type = false |
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
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,4 +1,5 @@ | ||
from django import template | ||
|
||
from ..compat import url as url_compat | ||
|
||
register = template.Library() | ||
|
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
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
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,3 +0,0 @@ | ||
from .templatetags import * | ||
from .templates import * | ||
from . import * | ||
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