Flake8: install more plugins (#412)
- Flake8: install more plugins
I might not merge all of these. We'll see.
I want to see how much they go off.
- CI: drop line length to 175
- Update status.py
- Stop -quotes for a bit
Will readd when I make a desicion on this
- Update models.py
- Refactor unnecessary else / elif when if block has a return statement (#407)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
- Update phabapi.py
- .
- Update test_general.py
- fix most
- Update status.py
- Update status.py
- Update responses.py
- Update phabapi.py
- Update phabapi.py
- Update mwapihandler.py
- Update welcome.py
- Update welcome.py
- Update phabapi.py
- Update welcome.py
- Update dev-requirements.txt
- Create .flake8
- Update dev-requirements.txt
- Update workflow.yml
- Update welcome.py
- Update .flake8
- Update welcome.py
- Update phabapi.py
- Update models.py
- Update workflow.yml
- Update compatible.yml
- Update codeql-analysis.yml
- Update test_general.py
- Update test_general.py
- Update status.py
- Update mwapihandler.py
- Update mwapihandler.py
- Update dev-requirements.txt (#414)
- Update dev-requirements.txt
- Update version.py
- Update version.py
- Update dbclean.py
- Update status.py
- Update responses.py
- Revert "Update responses.py"
This reverts commit c9e319f1d86a1d8081a0fcff345c38a13de26bb6.
- Revert "Update status.py"
This reverts commit 39bad8a44d915f906a4303eb6b5881472e7b60fd.
- Revert "Update dbclean.py"
This reverts commit ecac648fe0db66ed182e00d1662b57bb541723ff.
- Revert "Update version.py"
This reverts commit 99c77d1203e928ba3c6bfa26c16fccb769a69b18.
- Revert "Update version.py"
This reverts commit 4fee552a1b6dfbec1b223c8cdfefb7f99b78b047.
- .
- .
- Update status.py
- Update phab.py
- Update shortlinks.py
- Update mwapihandler.py
- Update test_general.py
- flake8: ban str.format(...) (#415)
- Update models.py
- Update test_general.py
- Update test_general.py
- autofix
me@pc MirahezeBots % flynt .
Running flynt v.0.58
Flynt run has finished. Stats:
Execution time: 0.104s
Files modified: 5
Character count reduction: 193 (0.53%)
Per expression type:
No old style (%) expressions attempted.
.format(...) calls attempted: 16/21 (76.2%)
No concatenations attempted.
F-string expressions created: 16
Out of all attempted transforms, 5 resulted in errors.
To find out specific error messages, use --verbose flag.
_-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_.
Please run your tests before committing. Did flynt get a perfect conversion? give it a star at:
~ https://github.com/ikamensh/flynt ~
Thank you for using flynt. Upgrade more projects and recommend it to your colleagues!
me@pc MirahezeBots %
- Update responses.py
- Update test_general.py
- Update mwapihandler.py
- Ignore SFS201 on phabapi
Will be followed up in later PR
- Update .flake8
- Update test_general.py
- Update test_general.py
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>