question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

black, isort, and doc8 - should we use them in our CI?

See original GitHub issue

black is an extremely popular tool for automatically formatting Python code to match the very opinionated black coding standard.

isort is a tool for automatically sorting Python imports to match a given style.

doc8 is a Sphinx style checker.

mypy is an optional static type checker

Should we incorporate one or more of these tools into our CI process similar to how we have incorporated flake8? Of course, we can tweak the default configuration for each of these tools to make them match our stylistic preferences if we desire.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
tleonhardtcommented, Mar 3, 2021

@xNinjaKittyx Since we went ahead and made the various CI improvements using GitHub actions, albeit not use pre-commit hooks, I"m thinking of deleting your ci_improvements branch as part of some cleanup. But I’ll wait a week or so in case you plan on doing anything more with that branch.

0reactions
xNinjaKittyxcommented, Mar 12, 2021

I don’t have much knowledge into github actions, maybe i’ll check it out sometime in the future. Feel free to delete the branch, thanks for letting me know!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Continuous Integration — orion v0.2.5.post0 documentation - Oríon
Code styles verifications, and quality checks are run ( black , isort , pylint , doc8 ). The documentation is also built at...
Read more >
Supported hooks - pre-commit
blacken-docs - Run `black` on python code blocks in documentation files ... rst-linter - Check .rst files with the same linter used by...
Read more >
catalystcoop.cheshire - Python Package Health Analysis | Snyk
Ensure you're using the healthiest python packages ... E.g. a repository at catalyst-cooperative/cheshire should be used to define a package named cheshire ...
Read more >
DOCK8 immunodeficiency syndrome: MedlinePlus Genetics
The information on this site should not be used as a substitute for professional medical care or advice. Contact a health care provider...
Read more >
Articles by Kiwi TCMS Team
Our mission is to transform the testing process inside your organization. You don't have to do it alone! Let us help you! Number...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found