John T. Wodder II

Results 282 issues of John T. Wodder II

Closes #1183. Not really sure how to write a test for this; advice appreciated.

I have a shell script that is run as part of a GitHub Actions workflow that, on occasion, clones a repository, creates, commits to, and pushes a branch, and then...

bug
p3

The following code: ```python from typing_extensions import assert_type assert_type(42, int) ``` fails to typecheck with the following message: ``` assert-type01.py:3: error: Expression is of type "int", not "int" ``` **Your...

bug
assert-type

Timestamps returned by the GitHub API include timezone information, yet PyGithub throws this information away. This can lead to wrong results in client code, as naïve timestamps are generally assumed...

may be of use here. See also: https://stackoverflow.com/questions/1976007/what-characters-are-forbidden-in-windows-and-linux-directory-names/31976060#31976060

enhancement
new check

Examples of such files include: * `.editorconfig` * `.vscode/` * `__pypackages__/` (Add to W005?) * `_build/` * `.mypy_cache/` (Add to W005?) * `node_modules/` (Add to W005?) * `poetry.lock` Cf. #8,...

enhancement
new check

The check should fail whenever a wheel contains files like: * Text editor swap files (`.*.swp`, `*~`, `.#*`, `.*.un~`(?), `*.bak`(?), others???) * `.DS_Store` * `._*` & `__MACOSX` (AppleDouble) * `Thumbs.db`...

enhancement
new check

Where "basename" is calculated using [`pymodule_basename()`](https://github.com/jwodder/check-wheel-contents/blob/c365c5994f479d9bf147a39b099a14b349f370c3/src/check_wheel_contents/util.py#L40).

enhancement
new check

Sure, such a setup can work if you know what you're doing, but do you?

enhancement
new check

Be sure to handle namespace packages intelligently.

enhancement
new check