David Tucker
David Tucker
On BSD-like systems, `-G` adds color: ``` -G Enable colorized output. This option is equivalent to defining CLICOLOR in the environment. (See below.) ``` On Linux-like systems, I think you...
``` python Python 3.10.1 (main, Dec 12 2021, 12:17:52) [GCC 10.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import git >>> git.__version__ '3.1.27' >>> repo...
If only the `git` bundle is installed (not `dev-utils`), `git add -p` emits an error: ``` $ git add -p git: 'add--interactive' is not a git command. See 'git --help'....
[Usually](https://fastapi.metacpan.org/v1/release/Test-Kwalitee), it's a `Str`, but [sometimes](https://fastapi.metacpan.org/v1/release/MojoX-Redis) it's a `Num`. It looks like the documentation indicates it should always be a string: https://github.com/metacpan/metacpan-api/blob/e8e16aff72a3ca5c0b782bfe40cf865cc889ebe7/lib/MetaCPAN/Document/Release.pm#L51 Related: https://github.com/badges/shields/issues/1599
``` pip install flake8-import-order==0.17.1 pytest-flake8==1.0.0 ``` - Order doesn't matter. ``` flake8 3.5.0 has requirement pycodestyle=2.0.0, but you'll have pycodestyle 2.4.0 which is incompatible. Installing collected packages: pycodestyle, flake8-import-order, pyflakes,...
**Bug Report** If the first 2 entries of `sys.path` are pwd, `mypy` seems to miss type checks in imported modules. **To Reproduce** `mypy==0.971` ``` python # sscce.py import sys import...
On Freenode, I go by dtux. I woke up to a bunch of notifications this morning from people mentioning someone else that goes by re**_dtux**_edocash. Seems like that probably shouldn't...
https://github.com/dmtucker/gjtk-py/issues/12
Resolve #14603 `encoding` should be explicit, even when opting for the default behavior (`"locale"`) https://peps.python.org/pep-0597/ This is motivated by eliminating [`EncodingWarning`s in `pytest-mypy`](https://github.com/realpython/pytest-mypy/issues/152).
``` console $ python3.8 --version Python 3.8.12 $ tox -e py38 --notest ROOT: No tox.ini or setup.cfg or pyproject.toml found, assuming empty tox.ini at /tmp/tmp.FN9goITk7Q py38: OK (0.11 seconds) congratulations...