Skip to content

Commit

Permalink
More linting / lint supression
Browse files Browse the repository at this point in the history
Pylint and pytest really don't play together that nicely. There is a
plugin to improve this situation, maybe I should try and use that with Codacy.
  • Loading branch information
ajjackson committed Oct 22, 2024
1 parent fd0ad50 commit 3c8f156
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests_and_analysis/test/script_tests/test_dispersion.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ def test_plot_save_to_json(self, inject_mocks, tmpdir, dispersion_args):

@pytest.mark.parametrize('dispersion_args', [
[quartz_json_file, '--save-web-json']])
def test_plot_save_to_web_json(self, inject_mocks, tmpdir, dispersion_args):
def test_plot_save_to_web_json(
self, inject_mocks, tmpdir, dispersion_args):
"""Write a phonon website JSON file"""
# pylint: disable=unused-argument
output_file = str(tmpdir.join('phonon.json'))
euphonic.cli.dispersion.main(dispersion_args + [output_file])

Expand Down

0 comments on commit 3c8f156

Please sign in to comment.