Skip to content

Commit

Permalink
Fix linting errors (#110)
Browse files Browse the repository at this point in the history
* Fix version of pyre-check to 0.9.18 for antsibull 0.52.0 test.

* Revert "Fix version of pyre-check to 0.9.18 for antsibull 0.52.0 test."

This reverts commit 7d76113.

* Remove non-existing search path from lint-pyre.sh script.

* Ignore missing import.

I have no idea why pyre thinks this part of stdlib is missing...
  • Loading branch information
felixfontein authored Oct 25, 2023
1 parent 0bcb1ef commit c77e5a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/antsibull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
run: |
. ./venv/bin/activate
sed -i 's|poetry run||' ./lint-pyre.sh
sed -i 's|--search-path ../antsibull-docs/src/||' ./lint-pyre.sh
./lint-pyre.sh
working-directory: antsibull

Expand Down
2 changes: 1 addition & 1 deletion src/antsibull_core/venv.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import asyncio
import os
import sys
import venv
import venv # pyre-ignore[21]
from collections.abc import Sequence
from typing import TYPE_CHECKING, NoReturn

Expand Down

0 comments on commit c77e5a4

Please sign in to comment.