Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
9712e3c8
Commit
9712e3c8
authored
Nov 07, 2018
by
Oleksandr Pavlyk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENH: implemented suggestion from issue 2700
parent
e5519b83
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
runtests.py
runtests.py
+2
-0
No files found.
runtests.py
View file @
9712e3c8
...
@@ -1570,6 +1570,8 @@ class TestCodeFormat(unittest.TestCase):
...
@@ -1570,6 +1570,8 @@ class TestCodeFormat(unittest.TestCase):
def runTest(self):
def runTest(self):
import pycodestyle
import pycodestyle
config_file = os.path.join(self.cython_dir, "tox.ini")
config_file = os.path.join(self.cython_dir, "tox.ini")
if not os.path.exists(config_file):
config_file=os.path.join(os.path.dirname(__file__), "tox.ini")
paths = glob.glob(os.path.join(self.cython_dir, "**/*.py"), recursive=True)
paths = glob.glob(os.path.join(self.cython_dir, "**/*.py"), recursive=True)
style = pycodestyle.StyleGuide(config_file=config_file)
style = pycodestyle.StyleGuide(config_file=config_file)
print("") # Fix the first line of the report.
print("") # Fix the first line of the report.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment