Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Joseph Siddons
GeoSpatialTools
Commits
9b70d04f
Commit
9b70d04f
authored
1 month ago
by
Joseph Siddons
Browse files
Options
Download
Email Patches
Plain Diff
ci: move pseudo-random generators lint rules to per-file-ignore
parent
2315451f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pyproject.toml
pyproject.toml
+2
-2
No files found.
pyproject.toml
View file @
9b70d04f
...
@@ -64,7 +64,6 @@ ignore = [
...
@@ -64,7 +64,6 @@ ignore = [
"D400"
,
# ends-in-period
"D400"
,
# ends-in-period
"D401"
,
# non-imperative-mood
"D401"
,
# non-imperative-mood
"D105"
,
# missing docstring in magic method
"D105"
,
# missing docstring in magic method
"S311"
,
# Standard pseudo-random generators are not suitable for cryptographic purposes
]
]
preview
=
true
preview
=
true
select
=
[
select
=
[
...
@@ -79,7 +78,8 @@ select = [
...
@@ -79,7 +78,8 @@ select = [
[tool.ruff.lint.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"docs/*.py"
=
[
"D100"
,
"D101"
,
"D102"
,
"D103"
]
"docs/*.py"
=
[
"D100"
,
"D101"
,
"D102"
,
"D103"
]
"test/**/*test*.py"
=
[
"D100"
,
"D101"
,
"D102"
,
"D103"
,
"N802"
,
"S101"
]
"test/**/*test*.py"
=
[
"D100"
,
"D101"
,
"D102"
,
"D103"
,
"N802"
,
"S101"
,
"S311"
]
"notebooks/*.ipynb"
=
[
"D100"
,
"D101"
,
"D102"
,
"D103"
,
"N802"
,
"S101"
,
"S311"
]
[tool.ruff.format]
[tool.ruff.format]
quote-style
=
"double"
# Like Black, use double quotes for strings.
quote-style
=
"double"
# Like Black, use double quotes for strings.
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment