-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While checking package: 'IsADirectoryError' on directories not containing any '.py'-files #15979
Labels
Comments
pyproject.toml: [tool.mypy]
python_version = '3.11'
strict = true
python_executable = ".venv/bin/python"
pretty = true
warn_unused_configs = true
#exclude = ['test/test_*', 'test/reports*']
packages = ['recipe2txt', 'test.testfiles.permanent']
linecount_report = '.'
warn_unreachable = true
[[tool.mypy.overrides]]
module = 'validators'
ignore_missing_imports = true tree (of
|
jp-berg
changed the title
While checking package: 'IsADirectoryError' on directory called '2023-08-17_16-21-31'
While checking package: 'IsADirectoryError' on directories not containing any '.py'-files
Aug 28, 2023
hauntsaninja
added a commit
that referenced
this issue
Sep 2, 2023
Fixes #15979. Fix is similar to that in `iterate_python_lines`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Crash Report
With the configuration listed below mypy seems to choke on the directory '2023-08-17_16-21-31'. (Paths have been shortened to the relevant parts)
Traceback
To Reproduce
TODO
Your Environment
--show-traceback
pyproject.toml
:Output of the
tree
-command in the parent-directory of the crash-causing-directoryThe text was updated successfully, but these errors were encountered: