| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
| |
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
|
|
|
| |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
|
|
|
|
|
| |
typehints (#7745)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
import (#7756)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
|
|
| |
Refs #7857
|
| |
|
| |
|
|\ |
|
| |\
|/ / |
|
| | |
|
| |
| |
| |
| |
| | |
attribute (#7824)" (#7855)
This reverts commit 86b8c649061f49c7d121843675ceefe6ff3a8113.
|
| |
| |
| |
| |
| |
| |
| | |
Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
(cherry picked from commit 978d1ab95603fa337e686aac8956366556c23080)
Co-authored-by: Dani Alcala <112832187+clavedeluna@users.noreply.github.com>
|
| |
| |
| |
| | |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| | |
|
| |
| |
| |
| |
| | |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
(cherry picked from commit a9c1cdabd6d55b6df86b7aef5779f7fc308a3d1c)
|
| |
| |
| |
| |
| |
| | |
* [dill] Use dill 0.3.6 for python 3.11 now that dill released it
* Upgrade astroid to 2.12.13
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Do not run primers tests on backporting branches
* Add content: write rights for backporting job
We need it to push to the backporting branch after cherry-picking
See https://github.com/PyCQA/pylint/pull/7810\#issuecomment-1324742960
* [github actions] Add a version comment so the tag is clearer
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
|
| |
| |
| |
| | |
TYPE_CHECKING (#7810)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Use dict for 'expand_modules' result rather than list.
With 'path' as the key, we get deduplication for free
and do not need to reprocess the list for deduplication later.
* Fix deduplication to account for CLI args marker.
* Fix corner case with CLI arg flag handling during deduplication.
* Add 'deduplication' to custom Pyenchant dict.
Closes #6242
Closes #4053
Co-authored-by: Eric McDonald <emcd@users.noreply.github.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
When alias for method is similar to name of deprecated method.
Closes #5886
(cherry picked from commit 57f38c39ae8df066212df75d684f8608b9f41b9e)
|
| |
| |
| |
| |
| |
| |
| | |
branch (#7815)
Remove changelog so we don't have to laboriously label everything "skip news"
all the time.
|
| |
| |
| |
| |
| |
| |
| |
| | |
``...`` (#7863)
Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0)
- [github.com/PyCQA/autoflake: v1.7.7 → v2.0.0](https://github.com/PyCQA/autoflake/compare/v1.7.7...v2.0.0)
We did not upgrade flake8 because it removed python 3.7 support before it's end of life.
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>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Update Linker to add aggregations_type and associations_type to nodes
Update logic of nodes to check what kind of relationship does nodes have (association, aggregation)
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
* Update ClassDiagram's extrac_relationship method to add aggregations links
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
* Update DiagramWriter to generate AGGREGATION edges
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
* Update printers to show aggregations
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
* Update tests with changes on aggregations
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
* Update Linker to add aggregations_type and associations_type to nodes
Update logic of nodes to check what kind of relationship does nodes have (association, aggregation)
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
* Update ClassDiagram's extrac_relationship method to add aggregations links
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
* Update DiagramWriter to generate AGGREGATION edges
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
* Update tests with changes on aggregations
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Apply pylint pre-commit correction
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
* Apply mypy corrections
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Add towrncrier fragment
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
* Update towncrier fragment
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
* Update towncrier fragment
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
* Update doc/whatsnew/fragments/6543.feature
Co-authored-by: Andreas Finkler <3929834+DudeNr33@users.noreply.github.com>
* Add documentation
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
* fix typo
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
* Add type hints
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
* Update pylint/pyreverse/diagrams.py
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update type hints
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update fragment
* Update fragment
Signed-off-by: Alvaro Frias Garay <alvaro.frias@eclypsium.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Andreas Finkler <3929834+DudeNr33@users.noreply.github.com>
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
|
| |
| |
| |
| | |
Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
| |
| |
| | |
expressions (#7847)
|
| | |
|
| |
| |
| | |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
| |
| | |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
* [dill] Use dill 0.3.6 for python 3.11 now that dill released it
* Upgrade astroid to 2.12.13
* Fix backport job
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Do not run primers tests on backporting branches
* Add content: write rights for backporting job
We need it to push to the backporting branch after cherry-picking
See https://github.com/PyCQA/pylint/pull/7810\#issuecomment-1324742960
* [github actions] Add a version comment so the tag is clearer
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
|
| |
| |
| | |
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* pytest 7.2 no longer depends on py so it's better to drop it.
`tmp_path` fixture is newer and uses `pathlib.Path` from stdlib
instead of `LocalPath` from `py._path`.
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Co-authored-by: Andreas Finkler <3929834+DudeNr33@users.noreply.github.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Catch DeprecationWarning in pyreverse
Follow-up to #6869
* Patch use of deprecated `astroid.node_classes` in test
* Ignore DeprecationWarning in test_parseable_output_regression
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
| |
| |
| |
| | |
TYPE_CHECKING (#7810)
|
| |
| |
| |
| | |
tests (#6677)
|
| |
| |
| |
| |
| |
| |
| | |
branch (#7815)
Remove changelog so we don't have to laboriously label everything "skip news"
all the time.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
updates:
- [github.com/pre-commit/mirrors-mypy: v0.990 → v0.991](https://github.com/pre-commit/mirrors-mypy/compare/v0.990...v0.991)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bumps [mypy](https://github.com/python/mypy) from 0.990 to 0.991.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.990...v0.991)
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds a new checker (not active by default) which identifies usages
similar to ``min(<arg1>, min(<arg2>, <arg3>))`` and suggests using a
simplified form of ``min(<arg1>, <arg2>, <arg3>)``. Same goes for
``max`` usage.
The logic is as follows: it detects calls to either ``min`` or ``max``
functions, and whenever one of their arguments is that same function, it
emits the message.
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
|