savoirfairelinux / flake8-copyright

Adds copyright checks to flake8
GNU Lesser General Public License v3.0
15 stars 15 forks source link

Unable to run with flake8 3.0.4 #8

Closed dopplershift closed 7 years ago

dopplershift commented 7 years ago

I can't get the plugin to flag files where I've removed the copyright notice. This is running on:

3.0.4 (flake8-bugbear: 16.11.0, pycodestyle: 2.0.0, naming: 0.4.1, flake-mutable: 1.0.5, mccabe: 0.5.0, flake8_copyright: 0.2.0, flake8_quotes: 0.8.1, pyflakes: 1.2.3, import-order: 0.11) CPython 3.5.2 on Darwin

I noticed that if I change the entrypoint from flake8_copyright to C80 (matching what the plugins I have working do), I now get a message about a missing copyright statement. Did flake8 3.x change something there?

dopplershift commented 7 years ago

Seems to work fine for me now with flake8 3.2.1, so I'm going to blame flake8 for the problem. Sorry for the noise.