Open altendky opened 4 years ago
There we go, this works. Needed the /
after the ^
.
[tool.black]
include = '(\.pyi?|^/pycli)$'
If pycli
isn't renamed then below should be updated as well. Or, maybe it can just go away? The referenced ticket didn't immediately seem to be about black ignoring it's config when run from a preocmmit.
Or, maybe it can just go away?
Yeah
pycli
isn't getting blacked because it's not a.py
.pycli
to the black command intox.ini
pycli.py
../pycli
can't work on Windows as the shebang only works if you have the.py
extension and it is associated with the py launcher.pyproject.toml
Number 1 only helps when calling tox so it seems inferior. Number 3 solves this issue but leaves another unsolved. Number 2 solves this and the directly-runnable-bootstrapper-on-windows issue (that has no ticket).