John T. Wodder II

Results 282 issues of 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:...

enhancement
configuration

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).

enhancement
new check

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...

enhancement
new check

This check should not apply in `*-stubs` directories.

enhancement
new check

Such files can cause problems on case-insensitive file systems.

enhancement
new check

The list of files under version control can be found with `git ls-tree -r --name-only -z HEAD $PATH`.

enhancement
new check

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...

enhancement
new check

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...

enhancement
c:W002

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...