Commit ac8676d 1 parent 361c817 commit ac8676d Copy full SHA for ac8676d
File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 2
2
"""Django's command-line utility for administrative tasks."""
3
3
import os
4
4
import sys
5
- from django .core .management .commands .runserver import Command as runserver
6
5
7
6
8
7
def main ():
9
8
"""Run administrative tasks."""
10
9
os .environ .setdefault ("DJANGO_SETTINGS_MODULE" , "integreat_compass.core.settings" )
11
10
12
11
try :
12
+ # pylint: disable=import-outside-toplevel
13
13
from django .core .management import execute_from_command_line
14
14
except ImportError as exc :
15
15
raise ImportError (
Original file line number Diff line number Diff line change @@ -10,5 +10,6 @@ require_installed
10
10
11
11
# Run pylint
12
12
echo " Starting code linting with pylint..." | print_info
13
- pylint .
13
+ # Explicitly include cli which does not have a .py ending
14
+ pylint . integreat_compass/integreat-compass-cli
14
15
echo " ✔ Linting finished" | print_success
You can’t perform that action at this time.
0 commit comments