John T. Wodder II
John T. Wodder II
Possible syntax in INI config files: ```ini per-file-ignore = mypackage/foo.py: W000 # Check prefixes also accepted mypackage/bar.py: * # Ignore all checks for the file ``` Corresponding syntax for TOML:...
We may want the check to ignore `__init__.py` files in `*-stubs` directories, which may or may not be acceptable (cf. how W004 handles such files).
Specifically, the check should fail if a `*.pyi` file is found in a directory that does not contain and none of whose ancestors contain a `py.typed` file. This check should...
This check should not apply in `*-stubs` directories.
Such files can cause problems on case-insensitive file systems.
The list of files under version control can be found with `git ls-tree -r --name-only -z HEAD $PATH`.
The check should fail whenever a wheel contains VCS files like `.git/`, `.gitignore`, etc. I've compiled a list of such files [here](https://jwodder.github.io/kbits/posts/vcs-files/). Such files should also be included in the...
The config option should take a sequence of sets of file paths. If two files in the same set are duplicates of each other, W002 should not be raised (but...
As of sgqlc v14.1, running the following code: ```python from datetime import datetime from sgqlc.types import Type, non_null class MyType(Type): createdAt = non_null(datetime) ``` fails with: ``` Traceback (most recent...