Skip to content

Commit

Permalink
Merge #169
Browse files Browse the repository at this point in the history
169: Update pylint to 2.6.0 r=duckinator a=pyup-bot


This PR updates [pylint](https://pypi.org/project/pylint) from **2.5.3** to **2.6.0**.



<details>
  <summary>Changelog</summary>
  
  
   ### 2.6.0
   ```
   ===========================

Release date: 2020-08-20

* Fix various scope-related bugs in ``undefined-variable`` checker

  Close 1082, 3434, 3461

* bad-continuation and bad-whitespace have been removed, black or another formatter can help you with this better than Pylint

  Close 246, 289, 638, 747, 1148, 1179, 1943, 2041, 2301, 2304, 2944, 3565

* The no-space-check option has been removed. It&#39;s no longer possible to consider empty line like a `trailing-whitespace` by using clever options

  Close 1368

* ``missing-kwoa`` is no longer emitted when dealing with overload functions

  Close 3655

* mixed-indentation has been removed, it is no longer useful since TabError is included directly in python3

  Close 2984 3573

* Add `super-with-arguments` check for flagging instances of Python 2 style super calls.

* Add an faq detailing which messages to disable to avoid duplicates w/ other popular linters

* Fix superfluous-parens false-positive for the walrus operator

  Close 3383

* Fix `fail-under` not accepting floats

* Fix a bug with `ignore-docstrings` ignoring all lines in a module

* Fix `pre-commit` config that could lead to undetected duplicate lines of code

* Fix a crash in parallel mode when the module&#39;s filepath is not set

  Close 3564

* Add `raise-missing-from` check for exceptions that should have a cause.

* Support both isort 4 and isort 5. If you have pinned isort 4 in your projet requirements, nothing changes. If you use isort 5, though, note that the `known-standard-library` option is not interpreted the same in isort 4 and isort 5 (see the migration guide in isort documentation for further details). For compatibility&#39;s sake for most pylint users, the `known-standard-library` option in pylint now maps to `extra-standard-library` in isort 5. If you really want what `known-standard-library` now means in isort 5, you must disable the `wrong-import-order` check in pylint and run isort manually with a proper isort configuration file.

  Close 3722
   ```
   
  
  
   ### 2.5.4
   ```
   ===========================

* Fix a crash caused by not guarding against `InferenceError` when calling `infer_call_result`

  Close 3690

* Fix a crash in parallel mode when the module&#39;s filepath is not set

  Close 3564
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/pylint
  - Changelog: https://pyup.io/changelogs/pylint/
  - Repo: https://github.com/PyCQA/pylint
</details>



Co-authored-by: pyup-bot <github-bot@pyup.io>
Co-authored-by: Ellen Marie Dash <me@duckie.co>
  • Loading branch information
3 people committed Aug 21, 2020
2 parents b9c16ab + 974d831 commit d1447f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ testing_only =
testing =
bork==5.0.0
pytest==6.0.1
pylint==2.5.3
pylint==2.6.0
pytest-pylint==0.17.0

docs =
Expand Down
2 changes: 1 addition & 1 deletion tests/test_config.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import json
from pathlib import Path

from emanate import config
from utils import chdir, directory_tree, home
from emanate import config


def test_json_resolution():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import tempfile
from pathlib import Path

from emanate import cli
from utils import chdir, directory_tree, home
from emanate import cli


def main(*pargs):
Expand Down

0 comments on commit d1447f1

Please sign in to comment.