Skip to content

Commit

Permalink
fix pytype
Browse files Browse the repository at this point in the history
  • Loading branch information
nycholas committed Jan 20, 2024
1 parent daebb7a commit be6b000
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
if: >-
github.event_name == 'issue_comment' &&
github.event.issue.pull_request &&
!contains(github.event.issue.body, 'github-actions-workflow: tests')
contains(github.event.issue.body, 'github-actions-workflow: tests') == false
uses: action-pack/cancel@v1
- name: Comment about start of workflow
if: >-
Expand All @@ -39,7 +39,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_ID: ${{ github.event.pull_request.html_url }}
run: |
gh pr comment $PR_ID --body 'The "Tests [Docker]" workflow will be started.'
gh pr comment $PR_ID --body 'Running "Tests [Docker]" workflow.'
unit-tests:
name: Unit tests
Expand Down
8 changes: 1 addition & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -176,13 +176,7 @@ ignore_errors = false
ignore_missing_imports = false
strict = true

[[tool.mypy.overrides]]
module = [
"dotenv.*",
"importlib_metadata",
]
ignore_missing_imports = true

[tool.pytype]
inputs = ["src/flask_jsonrpc"]
python_version = "3.11"
disable = ["invalid-annotation"]

0 comments on commit be6b000

Please sign in to comment.