Commits on Source (98)
-
Łukasz Rogalski authored
* Unskip two functional tests skipped by mistake max_pyver=2.7 caused tests to be not run on Python 2.7.x * Add relevant disables to make those tests pass
-
Claudiu Popa authored
-
Claudiu Popa authored
-
Claudiu Popa authored
-
Claudiu Popa authored
-
Claudiu Popa authored
-
Ashley Whetter authored
Fixes #1125
-
Ashley Whetter authored
-
Ashley Whetter authored
-
Ashley Whetter authored
-
Alex Hearn authored
-
Claudiu Popa authored
-
Łukasz Rogalski authored
Closes #1533
-
Roy Williams authored
-
Ashley Whetter authored
-
Martin von Gagern authored
-
Martin von Gagern authored
This sets the version range of that test to Python versions ≥ 2.7.10 as that is the first version for which Travis was able to run successfully. 2.7.9 failed to install the Python package, 2.7.6 and 2.7.8 failed this test. The problem with the failed tests is the line number: older versions apparently report line number one (1-based indexing) for an encoding error even if the encoding specification is on the second line.
-
guillaume2 authored
Add of a new key/value pair in the json dictionnary. The key is message-id and the value is the message id. closes #1512
-
guillaume2 authored
-
guillaume2 authored
-
Łukasz Sznuk authored
-
Erik Wright authored
Disabling 'wrong-import-order' or 'wrong-import-position' for a single line now prevents that line from triggering violations on subsequent lines.
-
Erik Wright authored
Disabling 'ungrouped-imports' for a single line now prevents that line from triggering violations on subsequent lines.
-
Claudiu Popa authored
-
Claudiu Popa authored
-
Claudiu Popa authored
-
Claudiu Popa authored
-
Claudiu Popa authored
This message is emitted when the threading.Thread class does not receive the target argument, but receives just one argument, which is by default the group parameter. Close #1327
-
Claudiu Popa authored
-
Claudiu Popa authored
Protocol checks (not-a-mapping, not-an-iterable and co.) aren't emitted on classes with dynamic getattr. Close #1579
-
Claudiu Popa authored
-
Claudiu Popa authored
-
Claudiu Popa authored
Added a couple of new Python 3 checks for accessing dict methods in non-iterable context. Part of #377
-
Martin von Gagern authored
Bad (now causing a new warning): raise SomeError('message about %s', foo) raise SomeError('message about {}', foo) Good (likely intended): raise SomeError('message about %s' % foo) raise SomeError('message about {}'.format(foo)) People used to printf in C might accidentally write a comma to separate a message format containing % placeholders from the arguments to substitute, instead of the % sign required to actually do the formatting and build the error message as a single string. But even when using {…} as a placeholder, some libraries will prefer deferred evaluation for e.g. logging calls, so a user might have a habit of using commas instead of a str.format() call for those, too. This warning points out such use cases. It can be ignored on projects which deliberately use lazy formatting at all user-facing exception handlers.
-
Martin von Gagern authored
-
hippo91 authored
Added stop-iteration-return Following the recommendations of PEP479 ,a new Python 3.0 checker was added to warn about raising a StopIteration inside a generator. Raising a StopIteration inside a generator may be due a direct call to `raise StopIteration`. Close #1385
-
Claudiu Popa authored
-
Claudiu Popa authored
-
guillaume2 authored
Close #1479
-
Claudiu Popa authored
-
Pedro Algarvio authored
- Removed dead code - Do not lowercase words prior to spell checking them, "unicode" is a spelling mistake, "Unicode" is not. - Add a "camelCaseWord" filter because some projects use those as parameter names and we should throw a spelling mistake on those if commented out for example.
-
Claudiu Popa authored
-
Claudiu Popa authored
-
Claudiu Popa authored
-
Łukasz Rogalski authored
-
Claudiu Popa authored
Close #1608
-
Łukasz Rogalski authored
* parametrize count of suggestions based on config parameter * fix tests on Appveyor
-
Łukasz Rogalski authored
simplify-boolean-expression is now emitted for old style ternaries with first value being falsy in boolean context (#1560) Closes #1559
-
Łukasz Rogalski authored
Attempts to help with #1495
-
Claudiu Popa authored
-
Roman Ivanov authored
pylint always starts all jobs even when analyzing a single file Close #1613
-
Claudiu Popa authored
-
Michka Popoff authored
Since commit 7df8caaa, the "# pylint: disable=cyclic-import" statment is respected. One case which was not covered is the disabling of the check for an import from inside a method/function. Example: File test1.py > class B(object): > pass > > def function(): > from . import test2 # pylint: disable=cyclic-import > pass File test2.py > from . import test1 > > class A(object): > pass Pylint wrongly reports: Cyclic import (testfolder.test1 -> testfolder.test2) (cyclic-import) This is due to the fact that the self._excluded_edges dict was not filled with the imports that need to be excluded. Passing the line number to the self.linter.is_message_enabled() check allows to not prematurely return due to the line number being None. Also fixed (with the help of rogalski) the test setup which got confused by the second 'func' in the test function name
-
Claudiu Popa authored
-
Claudiu Popa authored
-
Claudiu Popa authored
-
Claudiu Popa authored
Close #1176
-
Claudiu Popa authored
-
Łukasz Rogalski authored
Added ``suggestion-mode`` configuration flag. When flag is enabled, informational message is emitted instead of cryptic error message for attributes accessed on c-extensions. Close #1466
-
Claudiu Popa authored
-
Claudiu Popa authored
-
Łukasz Rogalski authored
-
Thomas Hisch authored
This change makes list-like output in all sections more readable (one item per line).
-
Claudiu Popa authored
-
Claudiu Popa authored
-
Erik Wright authored
A PR was merged that introduced a changelog entry in a previous release. This PR places the entry in the correct (upcoming) release section.
-
Mitar authored
* Allow simple xrefs for types in docstrings.
-
Łukasz Rogalski authored
Closes #574
-
ahirnish authored
Adding a warning about keyword argument appearing before variable args list in the function definition (#1636)
-
Claudiu Popa authored
-
Claudiu Popa authored
-
Claudiu Popa authored
-
hippo91 authored
* Add of a new regexp for Keyword Args|Arguments|Parameters. Extending the list of entries in match_param_docs method with the results of self._parse_section(new_regexp) * Add of 2 unittests for Google docstring with Args and Keyword Args. * Add of ChangeLog and whatsnew entries
-
Anthony Sottile authored
* Use codecs.getreader. * Test decoding_stream and _decoding_readline
-
Claudiu Popa authored
-
Claudiu Popa authored
A map enclosed by a filter call does not trigger map-builtin-not-iterating on Python 3 porting checker any longer
-
Łukasz Rogalski authored
Closes #1013
-
Claudiu Popa authored
-
Claudiu Popa authored
Check also for unicode.format when exempting str.format with self from redundant-keyword-arg. Close #1676
-
hippo91 authored
Close #1267
-
Claudiu Popa authored
Close #1673
-
Łukasz Rogalski authored
-
Krzysztof Czapla authored
Closes #1420
-
Łukasz Rogalski authored
-
Claudiu Popa authored
Skip the invalid-length-returned check when the return value is clearly an int, but with an uninferable underlying value
-
Claudiu Popa authored
-
hippo91 authored
A method can reimplement a super method in order to provide a different default value, in which case we shouldn't emit ``useless-super-delegation``.
-
hippo91 authored
-
Bryce Guinta authored
-
Bryce Guinta authored
-
Bryce Guinta authored
-
Bryce Guinta authored
-
Bryce Guinta authored
-
Michael Giuffrida authored
Adds basic documentation for adjusting the evaluation output. This option is important because it explains how to suppress all output when the code is free of errors and warnings.
-
hippo91 authored
-
Claudiu Popa authored
-
Claudiu Popa authored
-
Claudiu Popa authored
Showing
- .gitignore 2 additions, 2 deletions.gitignore
- .travis.yml 4 additions, 2 deletions.travis.yml
- CONTRIBUTORS.txt 6 additions, 0 deletionsCONTRIBUTORS.txt
- ChangeLog 114 additions, 3 deletionsChangeLog
- doc/conf.py 12 additions, 2 deletionsdoc/conf.py
- doc/development_guide/contribute.rst 42 additions, 1 deletiondoc/development_guide/contribute.rst
- doc/exts/pylint_extensions.py 1 addition, 1 deletiondoc/exts/pylint_extensions.py
- doc/exts/pylint_features.py 1 addition, 1 deletiondoc/exts/pylint_features.py
- doc/faq.rst 4 additions, 4 deletionsdoc/faq.rst
- doc/how_tos/custom_checkers.rst 295 additions, 0 deletionsdoc/how_tos/custom_checkers.rst
- doc/how_tos/index.rst 10 additions, 0 deletionsdoc/how_tos/index.rst
- doc/how_tos/plugins.rst 10 additions, 15 deletionsdoc/how_tos/plugins.rst
- doc/how_tos/transform_plugins.rst 3 additions, 0 deletionsdoc/how_tos/transform_plugins.rst
- doc/index.rst 2 additions, 1 deletiondoc/index.rst
- doc/reference_guide/custom_checkers.rst 0 additions, 61 deletionsdoc/reference_guide/custom_checkers.rst
- doc/release.txt 5 additions, 4 deletionsdoc/release.txt
- doc/technical_reference/checkers.rst 7 additions, 0 deletionsdoc/technical_reference/checkers.rst
- doc/technical_reference/index.rst 19 additions, 0 deletionsdoc/technical_reference/index.rst
- doc/technical_reference/startup.rst 22 additions, 0 deletionsdoc/technical_reference/startup.rst
- doc/user_guide/ide-integration.rst 1 addition, 0 deletionsdoc/user_guide/ide-integration.rst
doc/how_tos/custom_checkers.rst
0 → 100644
doc/technical_reference/checkers.rst
0 → 100644
doc/technical_reference/index.rst
0 → 100644
doc/technical_reference/startup.rst
0 → 100644