yegor256 / cam

Classes and Metriсs (CaM): a dataset of Java classes from public open-source GitHub repositories
http://cam.yegor256.com
MIT License
23 stars 32 forks source link

Added python code linter to Github Actions #336

Closed nikzor closed 3 months ago

nikzor commented 3 months ago

@yegor256 In order to improve code support inside the repository, Python linter has been added as the new GitHub Actions workflow. For the convenience of working inside the Jetbrains IDE set, an additional flag --max-line-length=120 was added, since this value is the default for the built-in PyCharm linter. Check, please

yegor256 commented 3 months ago

@nikzor looks good! However, check the status of GHA jobs - some of them fail now

nikzor commented 3 months ago

@yegor256 Updated python-flake8-lint.yml The Flake8 linter throws an error due to a mismatch in the length of a line in two files Fixed in #320 and #322

yegor256 commented 3 months ago

@nikzor now it works well, but I can't merge this pull request because it breaks the build in the master branch. You have to put the changes you made in https://github.com/yegor256/cam/pull/320 and https://github.com/yegor256/cam/pull/322 into this branch.

nikzor commented 3 months ago

@yegor256 Check please, add changes from #320 and #322

yegor256 commented 3 months ago

@rultor merge

rultor commented 3 months ago

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

rultor commented 3 months ago

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 20min)