forked from opengisch/QFieldCloud
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to
ruff
instead of black
, isort
, flake8
and autoflake
- Loading branch information
1 parent
3caa5b7
commit 2a22f62
Showing
7 changed files
with
44 additions
and
53 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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# See the default values at: https://docs.astral.sh/ruff/configuration/ | ||
|
||
# Exclude a variety of commonly ignored directories. | ||
exclude = [ | ||
".git", | ||
".git-rewrite", | ||
".hg", | ||
".ipynb_checkpoints", | ||
".mypy_cache", | ||
".ruff_cache", | ||
".vscode", | ||
"__pypackages__", | ||
"site-packages", | ||
# Custom QFieldCloud dirs to ignore. | ||
"**/docker-qgis/libqfieldsync/", | ||
"**/docker-qgis/qfieldcloud-sdk-python/", | ||
] | ||
|
||
# Support Python 3.10+. | ||
target-version = "py310" | ||
|
||
[lint] | ||
ignore = [] | ||
|
||
[lint.mccabe] | ||
max-complexity = 30 |