Skip to content

Commit 6c8b7aa

Browse files
committed
Emphasized type checker warning is due to static analyzer's limitation
1 parent ee87802 commit 6c8b7aa

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

find-project-root/docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ root = find_project_root()
3838
print(root) # e.g. /home/user/projects/my-project
3939
```
4040

41-
_Note: Most type checkers will falsely warn_ `find_project_root` _is not a callable module because they cannot analyze runtime behavior (where the module is replaced w/ a function for cleaner, direct access). You can safely suppress such warnings using_ `# type: ignore`.
41+
_Note: Most type checkers will falsely warn_ `find_project_root` _is not a callable module because they are incapable of analyzing runtime behavior (where the module is replaced w/ a function for cleaner, direct access). You can safely suppress such warnings using_ `# type: ignore`.
4242

4343
### Available options:
4444

project-markers/docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ print(project_markers)
3030
# => ['.ansible-lint', '.bazelrc', '.browserslistrc', '.buckconfig', ...]
3131
```
3232

33-
_Note: Most type checkers will falsely warn_ `project_markers` _is not iterable because they cannot analyze runtime behavior (where the module is replaced w/ a list for cleaner, direct access). You can safely suppress such warnings using_ `# type: ignore`.
33+
_Note: Most type checkers will falsely warn_ `project_markers` _is not iterable because they are incapable of analyzing runtime behavior (where the module is replaced w/ a list for cleaner, direct access). You can safely suppress such warnings using_ `# type: ignore`.
3434

3535
The list includes hundreds of markers from many tools and ecosystems, including:
3636

0 commit comments

Comments
 (0)