summaryrefslogtreecommitdiff
path: root/pylint/utils/ast_walker.py
diff options
context:
space:
mode:
authorpre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>2023-05-16 12:06:17 +0000
committerGitHub <noreply@github.com>2023-05-16 12:06:17 +0000
commitd7baf5d43fa8de68c4c169f731ae5af43ce60790 (patch)
treed71613386d71f9fb05a39ae326e1c876347540b7 /pylint/utils/ast_walker.py
parentd392ea5d8a11049a275207cf18e488bf19a57c69 (diff)
downloadpylint-git-d7baf5d43fa8de68c4c169f731ae5af43ce60790.tar.gz
[pre-commit.ci] pre-commit autoupdate and simplify ruff config (#8694)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.265 → v0.0.267](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.265...v0.0.267) - [github.com/pre-commit/mirrors-mypy: v1.2.0 → v1.3.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.2.0...v1.3.0) --------- Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'pylint/utils/ast_walker.py')
-rw-r--r--pylint/utils/ast_walker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/utils/ast_walker.py b/pylint/utils/ast_walker.py
index 338caf57a..367a39b81 100644
--- a/pylint/utils/ast_walker.py
+++ b/pylint/utils/ast_walker.py
@@ -98,7 +98,7 @@ class ASTWalker:
if self.exception_msg is False:
file = getattr(astroid.root(), "file", None)
print(
- f"Exception on node {repr(astroid)} in file '{file}'",
+ f"Exception on node {astroid!r} in file '{file}'",
file=sys.stderr,
)
traceback.print_exc()