| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updates the requirements on [coverage](https://github.com/nedbat/coveragepy) to permit the latest version.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/coverage-5.5...6.0)
---
updated-dependencies:
- dependency-name: coverage
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updates the requirements on [pytest-cov](https://github.com/pytest-dev/pytest-cov) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases)
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v2.12.0...v3.0.0)
---
updated-dependencies:
- dependency-name: pytest-cov
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
| |
* Improve and flatten ``unused-wildcard-import`` message
Instead of reporting all unused imports, the checker now emits one
single message for all unused imports with a stylized string containing
all imports.
This closes #3859
* Add tests for string formation
|
| |
|
|\
| |
| | |
Add basic typing to ``pylint/pyreverse``
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This makes unittests with options mimick the normal option setting
behaviour. It also adds ``set_config_directly()`` for those cases where
this is not possible.
|
|
|
|
|
|
|
| |
Also changes ``add_ignored_message()`` to make ``nodes`` parameter
optional.
Closes #4212
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.26.0 → v2.28.0](https://github.com/asottile/pyupgrade/compare/v2.26.0...v2.28.0)
* [pre-commit.ci] auto fixes from pre-commit.com hooks
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updates the requirements on [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-xdist/releases)
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v2.3.0...v2.4.0)
---
updated-dependencies:
- dependency-name: pytest-xdist
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Add py-version requirement to checker docs
* Improve default value
* Improve option parser error message
* Fix py-version help text
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add regression test for #4972 hang
* Fix loop in too-many-ancestors when an inheritance cycle is inferred
Ref #4972. If a class could be inferred as an ancestor of itself then
the implementation of _get_parents could get caught in an infinite loop,
forever adding itself to to_explore. This could be possible by
monkeypatching an ancestor after class definition like in the following
simplified example:
class Fake(module.Cls):
pass
module.Cls = Fake
Reproducing this is fairly tricky, but this integration test shows the
behaviour as of 1e675abcc2aa931421d7ce300908e734a93fd790:
#!/bin/sh
HERE=$(readlink -f .)
VENV=$HERE/venv-repro
PIP=$VENV/bin/pip
python -m venv "$VENV"
PYLINT=$VENV/bin/pylint
# assume running in pylint dir
$PIP install -e .
$PIP install flask
mkdir -p repro/flask/
touch repro/__init__.py
cat > repro/flask/__init__.py <<'EOF'
import flask
import repro.flask # self-import necessary
class Fake(flask.Flask):
pass
flask.Flask = Fake
EOF
echo +++ this is fine
$PYLINT --rcfile=/dev/null -- repro/flask/
echo +++ finished
echo +++ this loops forever
cd repro/; $PYLINT --rcfile=/dev/null -- flask/
echo +++ should not reach here
|
|
|
| |
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
|
|
|
|
| |
* Update toml dependency from >=0.7.1 to >=0.9.2
|
|
|
|
|
|
| |
This also adds a new method to ``MessagesHandlerMixIn`` which
adds messages to the list of the ignored messages without doing anything
else. This can be used to avoid ``useless-suppression`` false positives.
This closes #2366
|
|
|
| |
Remove unnecessary parameters
|
|
|
|
|
|
| |
* Type `add_message` and add `MessageLocationTuple`
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
|
| |
|
|
|
| |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
updates:
- [github.com/psf/black: 21.8b0 → 21.9b0](https://github.com/psf/black/compare/21.8b0...21.9b0)
- [github.com/pre-commit/mirrors-prettier: v2.4.0 → v2.4.1](https://github.com/pre-commit/mirrors-prettier/compare/v2.4.0...v2.4.1)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
|
|
|
|
|
|
| |
* Fix bug with cell-var-from-loop and kw_defaults
* Use more efficient generator for defaults and add issue link
* Fix test output for cellvar_escaping_loop
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updates the requirements on [tbump](https://github.com/dmerejkowsky/tbump) to permit the latest version.
- [Release notes](https://github.com/dmerejkowsky/tbump/releases)
- [Changelog](https://github.com/dmerejkowsky/tbump/blob/main/Changelog.rst)
- [Commits](https://github.com/dmerejkowsky/tbump/compare/v6.3.2...v6.4.0)
---
updated-dependencies:
- dependency-name: tbump
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bumps [types-toml](https://github.com/python/typeshed) from 0.1.5 to 0.10.0.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)
---
updated-dependencies:
- dependency-name: types-toml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bumps [black](https://github.com/psf/black) from 21.8b0 to 21.9b0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/commits)
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
| |
|
| |
|
|
|
|
|
| |
* Use node_ancestors method
* Rename loop variables
|
|
|
| |
* Rename `Message` to `TestMessage``
|
|
|
|
|
|
|
| |
* Require Python 3.6 for consider f-string check
Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
|
|
|
|
|
| |
* Add typing to `BaseReporter.out`
* Add DeprecationWarning to `set_output`
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
|
| |
|
|
|
|
| |
Closes #5029
|
|
|
|
| |
* Fix typing of `ReportsHandlerMixIn`
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This closes #5017
|