Skip to content

Commit

Permalink
Move pylint property bumbling to file level
Browse files Browse the repository at this point in the history
  • Loading branch information
vaneseltine committed Jul 12, 2024
1 parent 23e6f6e commit ea1e8c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions ash/__main__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# pylint: disable=no-value-for-parameter
from ash.cli import ash_cli

ash_cli()
7 changes: 3 additions & 4 deletions test/test_ash.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# pylint: disable=unused-argument
from io import StringIO

import pytest
Expand Down Expand Up @@ -118,7 +119,7 @@ def test_line_break_obscures_doi_in_pdf(self, vault):
class TestPaperReports:

@pytest.mark.parametrize("mock_http", [200], indirect=True)
def test_single_unret(self, fake_db, mock_http): # pylint: disable=unused-argument
def test_single_unret(self, fake_db, mock_http):
paper = Paper(UNRETRACTED_TEXT, mime_type="text/plain")
report = paper.report(fake_db)
assert report["dois"][UNRETRACTED_DOI] == {
Expand All @@ -127,9 +128,7 @@ def test_single_unret(self, fake_db, mock_http): # pylint: disable=unused-argum
}

@pytest.mark.parametrize("mock_http", [404], indirect=True)
def test_report_structure_retracted(
self, fake_db, mock_http
): # pylint: disable=unused-argument
def test_report_structure_retracted(self, fake_db, mock_http):
paper = Paper(MOCKED_RETRACTION, mime_type="text/plain")
report = paper.report(fake_db)
assert report["dois"][MOCKED_RETRACTION_DOI] == {
Expand Down

0 comments on commit ea1e8c2

Please sign in to comment.