summaryrefslogtreecommitdiff
path: root/tests/pyreverse/test_diadefs.py
Commit message (Collapse)AuthorAgeFilesLines
* Added escaping of vertical bar character in annotation labels (#8610)ViRuSTriNiTy2023-04-261-0/+2
|
* [PyCQA migration] Upgrade links to the repositories in code and doc (#8514)Pierre Sassoulas2023-03-291-2/+2
|
* pyreverse: Add show-stdlib option (#8190)Avram Lubkin2023-03-101-1/+45
| | | | | | | | | | | | | * pyreverse: Add show-stdlib option * Switch to astroid.modutils.is_standard_module * Add tests * Fix quotes in whatsnew fragment * Update for astroid 2.15.0 * Recategorize news fragment
* [__implements__] Remove everything related to the rejected PEP245 (#8404)Pierre Sassoulas2023-03-081-3/+1
|
* Feature: distinct Composition and Aggregation arrows (#7836)Alvaro Frias2022-11-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Remove xfail from passing testsDaniël van Noord2022-10-021-2/+0
|
* Complete typing of all generic types (#7406)Daniël van Noord2022-09-041-5/+8
| | | | And update ``mypy`` configuration
* [pyreverse test] Silence a deprecation warning for __implements__ (#7243)Pierre Sassoulas2022-07-301-1/+2
|
* Update `astroid` to 2.12 (#7153)Jacob Walls2022-07-131-4/+9
| | | | | | | | Prevent `unused-import` for `six.with_metaclass` Update `contributors-txt` to 0.9.0 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* Disable fixme for internal uses before we make it optional in #3512 (#6482)Pierre Sassoulas2022-05-011-1/+1
|
* Use ``python-typing-update`` on half of the ``tests`` directory (#6317)Daniël van Noord2022-04-141-4/+8
|
* Add a pre-commit hook to check the copyright noticePierre Sassoulas2022-03-241-1/+1
| | | | | Fix the existing file so they have a notice. No header for setup.py or examples or doc
* Simplify hard to maintain copyright noticePierre Sassoulas2022-03-241-20/+1
| | | | | | git is the source of truth for the copyright, copyrite (the tool) was taking exponentially longer with each release, and it's polluting the code with sometime as much as 50 lines of names.
* Update ``pydocstringformatter`` to 0.4.0 (#5787)Daniël van Noord2022-02-101-7/+7
|
* Format docstrings with ``pydocstringformatter``Daniël van Noord2022-01-021-1/+2
|
* Fix typos accross the whole codebase (#5575)Pierre Sassoulas2021-12-211-1/+1
| | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
* Bump pylint to 2.12.0, update changelogv2.12.0Pierre Sassoulas2021-11-251-0/+2
| | | | Closes #5250
* Modify sources along with results of pr review.Takahide Nojima2021-10-261-0/+2
| | | | | | | - move "tests/prop_data/*" to "tests/data/." - make tests/data/property_pattern.py correctly executable. - remove class members not related to "property" from test/data/property_pattern.py. - modify tests of pyreverse to pass all tests.
* Spelling and grammar fixesVille Skyttä2021-09-171-1/+1
|
* Bump pylint to 2.11.0, update changelogv2.11.0Pierre Sassoulas2021-09-161-0/+1
|
* Move PyreverseConfig to pylint.testutil (#5013)Pierre Sassoulas2021-09-151-1/+1
| | | See : https://github.com/PyCQA/pylint/pull/5010#issuecomment-920291278
* Fix PyreverseConfig imports in pyreverse's testsPierre Sassoulas2021-09-151-1/+1
|
* Add typing with `PyAnnotate` to `./tests` (#4950)Daniël van Noord2021-09-041-13/+26
| | | | | | * Add mypy_extensions to requirement for ``NoReturn`` Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Bump pylint to 2.10.0, update changelogv2.10.0Pierre Sassoulas2021-08-201-0/+2
|
* Use alias for astroid.nodes 04 (#4869)Marc Mueller2021-08-191-3/+3
| | | | | | | | | * Use alias for astroid nodes 04 * Resolve name conflicts * Apply suggestions from code review Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* ``pyreverse``: add PlantUML output (#4846)Andreas Finkler2021-08-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | * Extract helper method to get annotated arguments into ``Printer`` base class. * Add ``Printer`` subclass for PlantUML output * Add functional test for ``PlantUmlPrinter`` * Add tests for specific layout for ``PlantUmlPrinter`` * Extract test helper function to remove code duplication * Add new test class to check type annotations * Cleanup generated .puml files after tests finished * Create a factory function to get the correct ``Printer`` class for a given filetype. * Fix unittest after adding a new class to the test data. * Add changelog and whatsnew entry * Add "plantuml" as possible extension for PlantUML output
* Convert ``get_project`` to a fixture instead of implementing it under ↵DudeNr332021-08-091-5/+4
| | | | ``pylint.testutils.pyreverse``.
* Extract commonly used test helpers into ``conftest.py`` and a testutils ↵DudeNr332021-08-091-9/+9
| | | | component.
* Rename test files to follow the same conventions as other test modulesDudeNr332021-08-091-0/+203