Skip to content

Commit df4a96c

Browse files
matrixiseclaude
andcommitted
fix: Add ruff:noqa and os import to settings files
Add ruff:noqa directive and explicit os import to dev.py, production.py, and tests.py settings modules to resolve linting issues with wildcard imports and ensure all necessary imports are available. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 12f50cf commit df4a96c

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

pythonie/pythonie/settings/dev.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
# ruff: noqa
2+
import os
13
from pythonie.settings.configure import configure_redis
24

3-
from .base import * # flake8: noqa
5+
from .base import *
46

57
DEBUG = True
68

pythonie/pythonie/settings/production.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
# ruff: noqa
2+
import os
13
from pythonie.settings.configure import configure_redis
24

3-
from .base import * # flake8: noqa
5+
from .base import *
46

57
# Disable debug mode
68
DEBUG = False

pythonie/pythonie/settings/tests.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
# ruff: noqa
2+
import os
13
from pythonie.settings.configure import configure_redis
24

3-
from .base import * # flake8: noqa
5+
from .base import *
46

57
DEBUG = True
68

0 commit comments

Comments
 (0)