Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • pycqa/pycodestyle
1 result
Show changes
Commits on Source (13)
language: python
cache: pip
sudo: false
install:
- pip install tox
Loading
Loading
include *.txt
include *.rst
include LICENSE
recursive-include docs *
recursive-include testsuite *
recursive-exclude docs *.pyc
Loading
Loading
Loading
Loading
@@ -196,8 +196,10 @@ Else if :envvar:`XDG_CONFIG_HOME` is not defined:
Example::
 
[pycodestyle]
count = False
ignore = E226,E302,E41
max-line-length = 160
statistics = True
 
At the project level, a ``setup.cfg`` file or a ``tox.ini`` file is read if
present. If none of these files have a ``[pycodestyle]`` section, no project
Loading
Loading
@@ -420,8 +422,8 @@ This is the current list of error and warning codes:
**(*)** In the default configuration, the checks **E121**, **E123**, **E126**,
**E133**, **E226**, **E241**, **E242**, **E704** and **W503** are ignored because
they are not rules unanimously accepted, and `PEP 8`_ does not enforce them. The
check **E133** is mutually exclusive with check **E123**. Use switch ``--hang-
closing`` to report **E133** instead of **E123**.
check **E133** is mutually exclusive with check **E123**. Use switch
``--hang-closing`` to report **E133** instead of **E123**.
 
**(^)** These checks can be disabled at the line level using the ``# noqa``
special comment. This possibility should be reserved for special cases.
Loading
Loading
Loading
Loading
@@ -1280,7 +1280,7 @@ def bare_except(logical_line, noqa):
regex = re.compile(r"except\s*:")
match = regex.match(logical_line)
if match:
yield match.start(), "E722 do not use bare except'"
yield match.start(), "E722 do not use bare 'except'"
 
 
@register_check
Loading
Loading
[bdist_wheel]
universal = 1
 
[metadata]
license_file = LICENSE
[pycodestyle]
select =
ignore = E226,E24
Loading
Loading
Loading
Loading
@@ -51,7 +51,15 @@ setup(
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries :: Python Modules',
],
test_suite='testsuite.test_all.suite',
Loading
Loading