You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using pytype on my codebase, which currently has 90 files checked by pytype. Right now, 37 of them, or 41%, are not being checked due to #1571, but I didn't know that because the main pytype entry point currently silences the failures by passing --nofail to pytype-single. I'm requesting that a warning be provided by default when a file is ignored like this.
$ pytype --conf pytype.toml Computing dependenciesAnalyzing 90 sources with 0 local dependenciesninja: Entering directory `.pytype'(progress bar elided)Leaving directory '.pytype'Success: no errors found
$ grep -R -l 'Caught error in pytype' .pytype/pyi | wc -l37
$ pytype --version2024.01.05
$ python --versionPython 3.8.18
In case it makes a difference, my pytype.toml
[tool.pytype]
inputs = ["./src"]
jobs = "auto"python_version = '3.8'disable = []
exclude = [
# a few miscellaneous files
]
# Always use function return type annotations. This flag is temporary and will# be removed once this behavior is enabled by default.always_use_return_annotations = true# Use the enum overlay for more precise enum checking. This flag is temporary# and will be removed once this behavior is enabled by default.use_enum_overlay = true
The text was updated successfully, but these errors were encountered:
I'm using pytype on my codebase, which currently has 90 files checked by pytype. Right now, 37 of them, or 41%, are not being checked due to #1571, but I didn't know that because the main pytype entry point currently silences the failures by passing
--nofail
to pytype-single. I'm requesting that a warning be provided by default when a file is ignored like this.In case it makes a difference, my
pytype.toml
The text was updated successfully, but these errors were encountered: