Black line-length in pyproject.toml is not recognized #2923
Replies: 1 comment
-
The request is not clear, although you would need to configure super-linter to pick up your config file. README should have guidance for this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
We have a python project with pyproject.toml at the same directory level as ".github" and has specific lines:
[tool.black]
line-length = 120
Black runs locally(on a personal computer) by recognizing the pyproject.toml and align code to 120 chars. When configured with a github action for super-linter, black fails to recognize the line-length in pyproject.toml and defaults to 88 chars.
There are no other files that have black rules defined, Do I have to explicitly configure a new file under TEMPLATES with "line-length" = 120 ?
My linter.yml files has the below snippet
Beta Was this translation helpful? Give feedback.
All reactions