MichaelKim0407 / flake8-use-fstring

MIT License
51 stars 7 forks source link

fix: show package version for plugins #16

Closed jmahlik closed 2 years ago

jmahlik commented 2 years ago

Adjust the __version__ imports so all the plugins show the same version as the package. May be helpful for debugging.

Previous

$ flake8 --version
4.0.1 (mccabe: 0.6.1, pycodestyle: 2.8.0, pyflakes: 2.4.0, use-fstring-format: 1.0, use-fstring-percent: 1.0, use-
fstring-prefix: 1.0) CPython 3.9.7 on Windows

After

$ flake8 --version
4.0.1 (flake8-fixme: 1.1.1, flake8-print: 4.0.0, flake8-todo: 0.7, flake8_builtins: 1.5.2, flake8_commas: 2.1.0,
flake8_quotes: 3.3.0, mccabe: 0.6.1, pycodestyle: 2.8.0, pyflakes: 2.4.0, use-fstring-format: 1.2, use-fstring-
percent: 1.2, use-fstring-prefix: 1.2) CPython 3.9.7 on Windows
MichaelKim0407 commented 2 years ago

Can you please use relative imports for consistency? Thanks for the contribution!

jmahlik commented 2 years ago

Can you please use relative imports for consistency? Thanks for the contribution!

Done, didn't even notice that sorry.

MichaelKim0407 commented 2 years ago

No worries, thanks!