We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 219fa7d commit e152be5Copy full SHA for e152be5
runtests.py
@@ -1,17 +1,18 @@
1
#!/usr/bin/env python
2
-import os
3
import sys
4
import subprocess
5
6
7
-FLAKE8_ARGS = ['drfdocs', '--ignore=E501']
+FLAKE8_ARGS = ['rest_framework_docs', '--ignore=E501']
+
8
9
def exit_on_failure(command, message=None):
10
if command:
11
sys.exit(command)
12
13
14
def flake8_main(args):
- print('Running: flake8', *FLAKE8_ARGS, sep=' ')
15
+ print('Running: flake8', FLAKE8_ARGS)
16
command = subprocess.call(['flake8'] + args)
17
print("" if command else "Success. flake8 passed.")
18
return command
0 commit comments