diff --git a/pyproject.toml b/pyproject.toml index 8026e0c8ab..23ca0d4361 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -109,7 +109,7 @@ create_legend_entries = "pyramid_oereb.contrib.data_sources.standard.load_legend create_stats_tables = "pyramid_oereb.contrib.stats.scripts.create_stats_tables:create_stats_tables" [tool.flake8] -exclude = [".venv", "tests/init_db.py"] +exclude = [".venv", "tests/init_db.py", ".build"] max-line-length = 110 [tool.pytest.ini_options] diff --git a/pyramid_oereb/__init__.py b/pyramid_oereb/__init__.py index 4ffa677f01..2bfff03a6b 100644 --- a/pyramid_oereb/__init__.py +++ b/pyramid_oereb/__init__.py @@ -9,7 +9,6 @@ from pyramid.config import Configurator - log = logging.getLogger(__name__) route_prefix = None # initially instantiate database adapter for global session handling