I'm trying to change the line length for flake8 (version 3.7.7) on OSX (10.14.5), so that it matches the line length used in Black (the Python auto formatter). I'm using Sublimetext 3 with the SublimeLinter-flake8 plugin.
What I've tried to do is create a folder ~/.config/flake8 and then placed a file in it with the settings:
[flake8]
max-line-length = 88
I have called this file config.flake8. In addition, I've tried naming it 'flake8', 'flake8.rc', placing it in both ~/.config and ~/.config/flake8.
However, this hasn't worked. I get
./lorenz.py:13:80: E501 line too long (81 > 79 characters)
both when I run flake8 in the terminal (so this is not an ST3 problem) and when I have the code open on Sublimetext3.
I've looked at the documentation for flake8 and haven't really been able to get much out of it.
Can anyone let me know where I'm going wrong?