Skip to content

Commit

Permalink
Ruff check pass
Browse files Browse the repository at this point in the history
  • Loading branch information
Nazar1ky committed May 16, 2024
1 parent f1b482f commit d14c6da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Ruff Lint
uses: chartboost/ruff-action@v1
with:
args: '--select=ALL --ignore=A001,ANN,D,E501,FIX00,INP001,PLR,S101,T201,TD00,ERA001,PTH123,FA102'
args: '--select=ALL --ignore=A001,ANN,D,E501,FIX00,INP001,PLR,S101,T201,TD00,ERA001,PTH123,FA102,PT'

- name: Test
run: |
Expand Down
4 changes: 2 additions & 2 deletions tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

class Tests(unittest.TestCase):
@classmethod
def setUpClass(self) -> None: # noqa: ANN102
def setUpClass(self) -> None:
with open("tests/page1.html", encoding="utf-8") as file:
self.test_data = file.read()

def test_parse_page(self) -> None: # noqa: ANN101
def test_parse_page(self) -> None:
result = parse_page(self.test_data)

self.assertEqual(result[0], data1[0])
Expand Down

0 comments on commit d14c6da

Please sign in to comment.