Skip to content

Commit

Permalink
Fix package path for linter tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ruffsl committed May 5, 2024
1 parent 1fa536b commit d9e324e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/test_flake8.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_flake8():
sys.stdout = sys.stderr
# implicitly calls report_errors()
report = style_guide.check_files([
str(Path(__file__).parents[1] / 'colcon_clean'),
str(Path(__file__).parents[1] / 'colcon_cache'),
])
report_tests = style_guide_tests.check_files([
str(Path(__file__).parents[1] / 'test'),
Expand Down
2 changes: 1 addition & 1 deletion test/test_spell_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_spell_check(known_words):

source_filenames = [Path(__file__).parents[1] / 'setup.py'] + \
list(
(Path(__file__).parents[1] / 'colcon_clean')
(Path(__file__).parents[1] / 'colcon_cache')
.glob('**/*.py')) + \
list((Path(__file__).parents[1] / 'test').glob('**/*.py'))

Expand Down

0 comments on commit d9e324e

Please sign in to comment.