Closed jonn-smith closed 4 years ago
When tidying up my code with the new tools ala: black src tests && flake8 src tests && pylint src
black src tests && flake8 src tests && pylint src
Pylint still gives me warnings about spacing for the indentation blocks:
… src/tesserae/tesserae.py:107:0: C0330: Wrong hanging indentation before block (add 4 spaces). self, ^ | (bad-continuation) src/tesserae/tesserae.py:108:0: C0330: Wrong hanging indentation before block (add 4 spaces). mem_limit=False, ^ | (bad-continuation) src/tesserae/tesserae.py:109:0: C0330: Wrong hanging indentation before block (add 4 spaces). pdel=DEFAULT_DEL, ^ | (bad-continuation) src/tesserae/tesserae.py:110:0: C0330: Wrong hanging indentation before block (add 4 spaces). ...
I think the rules in black and pylint need to be reviewed together so they mesh better.
I disabled these messages in the tox.ini file (i.e. when you run tox -e lint), but the correct thing to do is to move the disables into .pylintrc so they can be found by pylint however it is run.
tox.ini
tox -e lint
.pylintrc
When tidying up my code with the new tools ala:
black src tests && flake8 src tests && pylint src
Pylint still gives me warnings about spacing for the indentation blocks:
I think the rules in black and pylint need to be reviewed together so they mesh better.