Skip to content

Commit

Permalink
CI: Handle imports strictly as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Root-Core committed Jan 10, 2025
1 parent 89e9227 commit ad92f42
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 0 additions & 2 deletions protonfixes_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import tempfile
from pathlib import Path
from unittest.mock import patch, mock_open
import io
import urllib.request
import fix


Expand Down
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,12 @@ exclude = [
]
pythonVersion = "3.9"
pythonPlatform = "Linux"

typeCheckingMode = "off"
reportMissingImports = "error"
reportMissingModuleSource = "error"
reportUnusedImport = "error"
reportDuplicateImport = "error"
reportWildcardImportFromLibrary = "error"
reportPrivateImportUsage = "error"
reportShadowedImports = "error"

0 comments on commit ad92f42

Please sign in to comment.