Skip to content

Commit

Permalink
Enact the checker config deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Nov 4, 2023
1 parent 37f5268 commit a982944
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/base_tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,11 @@ def setup_method(self):
self.impacted_checkers = []

for key, value in self.CONFIG.items():
setattr(self.checker.config, key, value)
setattr(self.linter.config, key, value)

Check warning on line 73 in tests/base_tester.py

View check run for this annotation

Codecov / codecov/patch

tests/base_tester.py#L73

Added line #L73 was not covered by tests
self.checker.open()

for checker_class in self.IMPACTED_CHECKER_CLASSES:
checker = checker_class(self.linter)
for key, value in self.CONFIG.items():
setattr(checker.config, key, value)
checker.open()
self.impacted_checkers.append(checker)

Expand Down

0 comments on commit a982944

Please sign in to comment.