Henry Schreiner
Henry Schreiner
Or: ``` resources/test/fixtures/pyupgrade/UP035.py:47:14: F811 Redefinition of unused `Counter` from line 33 resources/test/fixtures/pyupgrade/UP035.py:50:15: F401 `a.b` imported but unused resources/test/fixtures/pyupgrade/future_annotations.py:8:5: F401 `models.Nut` imported but unused resources/test/fixtures/pyupgrade/future_annotations.py:26:19: F821 [*] Undefined name `Bar` ```...
What about `operator[]`, only if C++23+ is used? In C++23, this supports multiple args, and seems like the ideal operator in the future for this sort of thing. It also...
Neither packaging nor numpy have a build system. I expect you want setuptools and `build-backend = “setuptools.build_meta”` too. Scikit-build-core and meson-python are both good choices now as well.
I've (slowly) started writing one.
How about something like this: ```json { "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://json.schemastore.org/partial-black.json", "$comment": "black table in pyproject.toml", "type": "object", "definitions": { "click-bool": { "enum": [ true, false, 0, 1, "True", "False",...
For example, do all of those items make sense in pyproject.toml? I implemented the current bool-not-required for bool, rather than just making it a bool, but could change that. I...
Also, what's the min Python version for scripts? I would rather use a match statement there (I actually used a smidge of 3.10 above, but was writing it assuming scripts...
`extension.This` Hmm, one or more of those has spacing issues.
For bools: ``` tool.black.skip-string-normalization contents: True: 2512 1: 59 'true': 24 'True': 14 '1': 12 tool.black.preview contents: True: 650 'True': 4 1: 1 'true': ``` We can avoid specifying lists...
Made a PR. Realized the irony of processing click options using an argparse based script, so fixed that. :)