computers 

ah neat my linter and formatter don't agree again

one puts the + at the end of one line the other wants it at the start of the next

computers 

@CobaltVelvet what linter/formatter are these?

computers 

@val pylint or flake8 and black

Follow

computers 

@CobaltVelvet Add this in setup.cfg:
[flake8]
# E203: whitespaces before ':' <github.com/psf/black/issues/31>
# E231: missing whitespace after ','
# W503: line break before binary operator <github.com/psf/black/issues/52>
ignore = E203,E231,W503
max-line-length = 88

· · Web · 0 · 0 · 1
Sign in to participate in the conversation
Octodon

oc.todon.fr is a mostly French-speaking Mastodon instance with an active moderation. oc.todon.fr est une instance Mastodon principalement francophone et avec une modération active.