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
52a74469
Commit
52a74469
authored
Mar 15, 2016
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move pep8 config to landscape.yml for prospector
and document the settings.
parent
5c591b98
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
17 deletions
+56
-17
.landscape.yml
.landscape.yml
+53
-1
changelog.rst
changelog.rst
+3
-0
setup.cfg
setup.cfg
+0
-16
No files found.
.landscape.yml
View file @
52a74469
...
...
@@ -2,7 +2,9 @@ doc-warnings: no # experimental, raises an exception
test-warnings
:
no
strictness
:
veryhigh
max-line-length
:
160
autodetect
:
yes
# We don't use any of the auto-detected things, and
# auto-detection slows down startup
autodetect
:
false
requirements
:
-
dev-requirements.txt
...
...
@@ -66,3 +68,53 @@ pyflakes:
-
F811
# F403: wildcard import; same story
-
F403
pep8
:
disable
:
# N805: first arg should be self; fails on metaclasses and
# classmethods; pylint does a better job
-
N805
# N802: function names should be lower-case; comes from Windows
# funcs and unittest-style asserts and factory funcs
-
N802
# N801: class names should use CapWords
-
N801
# N803: argument name should be lower-case; comes up with using
# the class name as a keyword-argument
-
N803
# N813: camelCase imported as lowercase; socketcommon
-
N813
# N806: variable in function should be lowercase; but sometimes we
# want constant-looking names, especially for closures
-
N806
# N812: lowercase imported as non-lowercase; from greenlet import
# greenlet as RawGreenlet
-
N812
# E261: at least two spaces before inline comment. Really? Who does
# that?
-
E261
# E265: Block comment should start with "# ". This arises from
# commenting out individual lines of code.
-
E265
# N806: variable in function should be lowercase; but sometimes we
# want constant-looking names, especially for closures
-
N806
# W503 line break before binary operator (I like and/or on the
# next line, it makes more sense)
-
W503
# E266: too many leading '#' for block comment. (Multiple # can
# set off blocks)
-
E266
# E402 module level import not at top of file. (happens in
# setup.py, some test cases)
-
E402
# E702: multiple expressions on one line semicolon
# (happens for monkey-patch))
-
E702
# E731: do not assign a lambda expression, use a def
# simpler than a def sometimes, and prevents redefinition warnings
-
E731
# E302/303: Too many/too few blank lines (between classes, etc)
# This is *really* nitpicky.
-
E302
-
E303
changelog.rst
View file @
52a74469
...
...
@@ -16,6 +16,9 @@
- The ``ref`` parameter to :func:`gevent.os.fork_and_watch` was being ignored.
- Python 3: :class:`gevent.queue.Channel` is now correctly iterable, instead of
raising a :exc:`TypeError`.
- Nested callbacks that set and clear an Event no longer cause
``wait`` to return prematurely. Reported in :issue:`771` by Sergey
Vasilyev.
1.1.0 (Mar 5, 2016)
===================
...
...
setup.cfg
deleted
100644 → 0
View file @
5c591b98
[pep8]
# N801: class names should use CapWords
# N802: function names should be lower-case; comes from Windows funcs
# N803: argument name should be lower-case; comes up with using the class name as a keyword-argument
# N813: camelCase imported as lowercase; socketcommon
# N806: variable in function should be lowercase; but sometimes we want constant-looking names, especially for closures
# N812: lowercase imported as non-lowercase; from greenlet import greenlet as RawGreenlet
# N805: first arg should be self; fails on metaclasses and classmethods; pylint does a better job
ignore=E702,E265,E402,E731,E266,E261,W503,E129,N801,N802,N803,N813,N806,N812,N805
max_line_length=160
exclude=.runtimes,.eggs,.tox,.git,build,2.6,2.7,2.7pypy,3.3,3.5,test_support.py,test_queue.py,patched_tests_setup.py,test_threading_2.py,lock_tests.py,_sslgte279.py,3.4
[flake8]
# F821: undefined name; caught better by pylint, where it can be locally disabled
# F401: imported but unused; better caught by pylint where it can be locally disabled
ignore=F821,F401
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