Skip to content

Commit 745e5b1

Browse files
committed
Fix prospector lint issues
1 parent 79dafa0 commit 745e5b1

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

geoportal/geomapfish_geoportal/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import logging
22

3-
from c2cgeoportal_commons.models.main import * # pylint: disable=unused-wildcard-import # noqa: F403
3+
from c2cgeoportal_commons.models.main import * # pylint: disable=unused-wildcard-import
44
from pyramid.i18n import TranslationStringFactory
55

66
_ = TranslationStringFactory("geomapfish_geoportal-server")

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
target-version = "py310"
33
line-length = 110
44

5+
[tool.ruff.lint]
6+
per-file-ignores = {
7+
"geoportal/geomapfish_geoportal/dev.py" = ["T100"],
8+
"geoportal/geomapfish_geoportal/models.py" = ["F403"],
9+
"geoportal/geomapfish_geoportal/resources.py" = ["RUF012"],
10+
}
11+
512
[tool.ruff.lint.pydocstyle]
613
convention = "numpy"
714

0 commit comments

Comments
 (0)