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/pylint
1 result
Show changes
Commits on Source (6)
Showing
with 29 additions and 36 deletions
Loading
Loading
@@ -20,3 +20,4 @@ debian/pylint.substvars
debian/pylint
.coverage
.coverage.*
.idea
Loading
Loading
@@ -7,9 +7,6 @@ matrix:
env: TOXENV=py27
- python: 2.7.6
env: TOXENV=py27
# This is used by Ubuntu Trusty
- python: 3.3
env: TOXENV=py33
- python: 3.4
env: TOXENV=py34
- python: 3.5-dev
Loading
Loading
Loading
Loading
@@ -7,9 +7,6 @@ environment:
- PYTHON: "C:\\Python27"
TOXENV: "py27"
 
- PYTHON: "C:\\Python33"
TOXENV: "py33"
- PYTHON: "C:\\Python34"
TOXENV: "py34"
 
Loading
Loading
Loading
Loading
@@ -42,6 +42,7 @@ def builder_inited(app):
elif ext == '.rst':
doc_files['pylint.extensions.' + name] = os.path.join(ext_path,
filename)
modules.sort()
if not modules:
sys.exit("No Pylint extensions found?")
 
Loading
Loading
Loading
Loading
@@ -50,7 +50,7 @@ it is also working on PyPy.
2.4 What versions of Python is Pylint supporting?
--------------------------------------------------
 
Since Pylint 1.4, we support only Python 2.7+ and Python 3.3+. If code
Since Pylint 1.8, we support only Python 2.7 and Python 3.4+. If code
uses new Python 3.6 syntax, minimal required version is Pylint 1.7.
 
Using this strategy really helps in maintaining a code base compatible
Loading
Loading
.TH pylint-gui 1 "2010-12-15" pylint-gui
.SH NAME
.B pylint-gui
\- Tkinker gui for pylint
.SH SYNOPSIS
.B pylint-gui
.SH DESCRIPTION
.B pylint-gui
launches a nice graphical interface for running Pylint
.SH "SEE ALSO"
.B pylint(1), pyreverse(1)
Loading
Loading
@@ -67,7 +67,13 @@ classifiers = ['Development Status :: 4 - Beta',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 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 :: Debuggers',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing'
Loading
Loading
Loading
Loading
@@ -305,7 +305,8 @@ class ExceptionsChecker(checkers.BaseChecker):
if any(node is astroid.YES for node in inferred):
# Don't emit if we don't know every component.
return
if all(node and utils.inherit_from_std_ex(node)
if all(node and (utils.inherit_from_std_ex(node) or
not utils.has_known_bases(node))
for node in inferred):
return
 
Loading
Loading
Loading
Loading
@@ -267,7 +267,7 @@ class RefactoringChecker(checkers.BaseTokenChecker):
# AST exists by the time process_tokens is called, so
# it's safe to assume tokens[index+1]
# exists. tokens[index+1][2] is the elif's position as
# reported by cPython, Jython and PyPy,
# reported by CPython and PyPy,
# tokens[index][2] is the actual position and also is
# reported by IronPython.
self._elifs.extend([tokens[index][2], tokens[index+1][2]])
Loading
Loading
[testoptions]
max_pyver=3.0
except_implementations=Jython
\ No newline at end of file
[testoptions]
except_implementations=Jython
\ No newline at end of file
[testoptions]
max_pyver=3.0
except_implementations=Jython
Loading
Loading
@@ -121,3 +121,15 @@ try:
raise Second
except Second:
pass
class SomeBase(UnknownError):
pass
EXCEPTIONS = (SomeBase, ValueError)
try:
raise ValueError
except EXCEPTIONS:
pass
[testoptions]
except_implementations=Jython
[testoptions]
except_implementations=Jython
\ No newline at end of file
[testoptions]
max_pyver=3.0
except_implementations=PyPy,Jython
\ No newline at end of file
except_implementations=PyPy
\ No newline at end of file
[testoptions]
min_pyver=3.0
except_implementations=CPython, Jython, IronPython
\ No newline at end of file
except_implementations=CPython, IronPython
\ No newline at end of file
Loading
Loading
@@ -471,7 +471,7 @@ class MessagesHandlerMixIn(object):
print("Below is a list of all checkers and their features.", file=stream)
print("", file=stream)
 
for checker, info in six.iteritems(by_checker):
for checker, info in sorted(six.iteritems(by_checker)):
self._print_checker_doc(checker, info, stream=stream)
 
@staticmethod
Loading
Loading
Loading
Loading
@@ -129,9 +129,6 @@ def install(**kwargs):
if USE_SETUPTOOLS:
if '--force-manifest' in sys.argv:
sys.argv.remove('--force-manifest')
# install-layout option was introduced in 2.5.3-1~exp1
elif sys.version_info < (2, 5, 4) and '--install-layout=deb' in sys.argv:
sys.argv.remove('--install-layout=deb')
packages = [modname] + get_packages(join(base_dir, 'pylint'), modname)
if USE_SETUPTOOLS:
if install_requires:
Loading
Loading
@@ -163,6 +160,7 @@ def install(**kwargs):
cmdclass=cmdclass,
extras_require=extras_require,
test_suite='test',
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
setup_requires=['pytest-runner'],
tests_require=['pytest'],
**kwargs)
Loading
Loading
[tox]
envlist = py27, py33, py34, py35, py36, pypy, jython, pylint
envlist = py27, py34, py35, py36, pypy, pylint
skip_missing_interpreters = true
 
[testenv:pylint]
Loading
Loading