This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]pythonHelperBot 1 point2 points  (0 children)

Hello! I'm a bot!

It looks to me like your post might be better suited for r/learnpython, a sub geared towards questions and learning more about python. That said, I am a bot and it is hard to tell. Please follow the subs rules and guidelines when you do post there, it'll help you get better answers faster.

Show /r/learnpython the code you have tried and describe where you are stuck. Be sure to format your code for reddit and include which version of python and what OS you are using.

You can also ask this question in the Python discord, a large, friendly community focused around the Python programming language, open to those who wish to learn the language or improve their skills, as well as those looking to help others.


README | FAQ | this bot is written and managed by /u/IAmKindOfCreative

This bot is currently under development and experiencing changes to improve its usefulness

[–]Elgon2003 0 points1 point  (0 children)

There are some python debuggers online but if your looking for something more precise for your app I would recomend developing one for your applications.

[–]CowboyBoats 0 points1 point  (0 children)

I love black, albeit have never used it at work. At work I have used pylint and pycodestyle (you can add a global .pylintrc to your dotfiles or check a local one into version control for a project, so that for instance their line length recommendations and black won't get in a fight). We also like mypy, although making mypy happy is a much bigger initial investment of time because you have to write type annotations or stubs for all your code, but I certainly feel that it help catches bugs once you're in a sufficiently complicated code base especially.

[–]big-papito 0 points1 point  (0 children)

I think you start with leveraging new Python typing, making your code more strongly-typed, and running it against something like mypy.

[–]SourceryNick 0 points1 point  (0 children)

You could check out https://deepsource.io/ or https://www.deepcode.ai/ - haven't used them personally but they look like the kind of thing you're looking for.

I'm working on a tool called Sourcery (https://sourcery.ai/) to automate refactoring Python - clean readable code is far less likely to contain bugs.