There was an error while loading. Please reload this page.
1 parent 79dafa0 commit 745e5b1Copy full SHA for 745e5b1
2 files changed
geoportal/geomapfish_geoportal/models.py
@@ -1,6 +1,6 @@
1
import logging
2
3
-from c2cgeoportal_commons.models.main import * # pylint: disable=unused-wildcard-import # noqa: F403
+from c2cgeoportal_commons.models.main import * # pylint: disable=unused-wildcard-import
4
from pyramid.i18n import TranslationStringFactory
5
6
_ = TranslationStringFactory("geomapfish_geoportal-server")
pyproject.toml
@@ -2,6 +2,13 @@
target-version = "py310"
line-length = 110
+[tool.ruff.lint]
+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
+
12
[tool.ruff.lint.pydocstyle]
13
convention = "numpy"
14
0 commit comments