Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add typing to all calls to self.stats #4973

Merged
merged 10 commits into from Sep 15, 2021
2 changes: 1 addition & 1 deletion tests/pyreverse/test_writer.py
Expand Up @@ -28,7 +28,7 @@
from unittest.mock import Mock

import pytest
from conftest import PyreverseConfig # type: ignore
from conftest import PyreverseConfig # type: ignore #pylint: disable=no-name-in-module
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason the import of conftest introduced in 2500086 failed the pre-commit.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be from pylint.pyrevers.conftest import PyreverseConfig?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See discussion here: #4950 (comment)
Seems like we can't fix this without a (big) refactor


from pylint.pyreverse.diadefslib import DefaultDiadefGenerator, DiadefsHandler
from pylint.pyreverse.inspector import Linker, Project
Expand Down