Skip to content

Commit

Permalink
Re-enable pylint in Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
BlankSpruce committed Dec 22, 2023
1 parent de8a381 commit 1a002f2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ jobs:
run: tox -e tests

- name: Run quality tests
run: tox -e format && tox -e mypy
run: tox -e lint && tox -e format && tox -e mypy
if: matrix.name == 'Quality tests'
4 changes: 2 additions & 2 deletions tests/test_executable.py
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ def test_check_project_with_conflicting_command_definitions():
assert completed_process.returncode == 0
assert completed_process.stdout == ""
assert re.search(
f"""Warning: conflicting definitions for 'foo':
"""Warning: conflicting definitions for 'foo':
\\(used\\) .*foo1\\.cmake:1:10
\\(ignored\\) .*foo2\\.cmake:1:10
\\(ignored\\) .*foo2\\.cmake:5:10
Expand Down Expand Up @@ -845,7 +845,7 @@ def test_format_file_with_conflicting_command_definitions():
"""
)
assert re.search(
f"""Warning: conflicting definitions for 'foo':
"""Warning: conflicting definitions for 'foo':
\\(used\\) .*foo1\\.cmake:1:10
\\(ignored\\) .*foo2\\.cmake:1:10
\\(ignored\\) .*foo2\\.cmake:5:10
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ deps =
flake8-bugbear
pydantic
commands =
pylint gersemi stubs tests setup.py
pylint --recursive=y gersemi stubs tests setup.py
flake8 gersemi stubs tests setup.py

[testenv:format]
Expand Down

0 comments on commit 1a002f2

Please sign in to comment.