Category "python-black"

black as pre-commit hook always fails my commits

I'm trying to use pre-commit to manage Black as a Git pre-commit hook, but I must be doing it wrong. In my pre-commit config file I have: - repo: https://gith

Python: Black doesn't wrap long lines

I am using black==20.8b1. I have a long string like: return f"{self.name}, a {adjective.to_name()} {kin_string}{self._type.to_name()} who works for the {target.