pypandoc icon indicating copy to clipboard operation
pypandoc copied to clipboard

Reduce the number of flake8 errors/warnings

Open hey-thanks opened this issue 2 years ago • 2 comments

Running flake8 currently causes 200+ errors/warnings to be produced, mostly to do with whitespace and line length. If such an improvement is welcome, I'd be more than happy to submit a PR that improves this situation.

hey-thanks avatar Jul 16 '22 15:07 hey-thanks

this is welcome. I've been meaning to add black and flake8 as precommit hooks, for the longest time.

Something like this describes

and of course add it to the ci pipeline

JessicaTegner avatar Jul 18 '22 10:07 JessicaTegner

I'd also recommend adding Isort, to sort your imports.

TheQuinbox avatar Aug 25 '22 19:08 TheQuinbox