Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
Kirill Smelkov
gevent
Commits
efc4c6d1
Commit
efc4c6d1
authored
Sep 15, 2010
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xtest_pep8.py: use pep8 script's ability to traverse directories
parent
93976c28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
greentest/xtest_pep8.py
greentest/xtest_pep8.py
+3
-2
No files found.
greentest/xtest_pep8.py
View file @
efc4c6d1
...
@@ -42,7 +42,7 @@ class Test(unittest.TestCase):
...
@@ -42,7 +42,7 @@ class Test(unittest.TestCase):
def
test_gevent
(
self
):
def
test_gevent
(
self
):
import
gevent
import
gevent
# E221 multiple spaces before operator
# E221 multiple spaces before operator
system
(
command
%
join
(
abspath
(
dirname
(
gevent
.
__file__
)),
'*.py'
),
'| grep -v E221'
)
system
(
command
%
abspath
(
dirname
(
gevent
.
__file__
)
),
'| grep -v E221'
)
def
test_tests
(
self
):
def
test_tests
(
self
):
# E702 multiple statements on one line (from gevent import monkey; monkey.patch_all())
# E702 multiple statements on one line (from gevent import monkey; monkey.patch_all())
...
@@ -61,7 +61,8 @@ class Test(unittest.TestCase):
...
@@ -61,7 +61,8 @@ class Test(unittest.TestCase):
def
test_examples
(
self
):
def
test_examples
(
self
):
# E702 multiple statements on one line (from gevent import monkey; monkey.patch_all())
# E702 multiple statements on one line (from gevent import monkey; monkey.patch_all())
system
(
command
%
join
(
dirname
(
abspath
(
dirname
(
__file__
))),
'examples'
,
'*.py'
),
'| grep -v E702'
)
# E202 whitespace before '('
system
(
command
%
join
(
dirname
(
abspath
(
dirname
(
__file__
))),
'examples'
),
'| grep -v E702 | grep -v E202'
)
def
test_setup
(
self
):
def
test_setup
(
self
):
system
(
command
%
join
(
dirname
(
abspath
(
dirname
(
__file__
))),
'setup.py'
))
system
(
command
%
join
(
dirname
(
abspath
(
dirname
(
__file__
))),
'setup.py'
))
...
...
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