@treyhunner The build tool should automatically produce binaries that run on Windows, macOS, and Linux. Thank goodness for PyOxidizer. IMHO, making binaries should be a first-class feature.
Don't follow people who look down on assistive technology. They sound like cavemen telling others spears cannot fix their real problem: not reaching far enough with their arms and nails.
Whether it's glasses or a debugger, telling people to just "look closer" is bad advice.
1/3
Python 3.11 is finally released. In the CPython release team, we have put a lot of effort into making 3.11 the best version of Python possible. Better tracebacks, faster Python, exception groups and except*, typing improvements and much more. Get it here:
https://t.co/WNlHRrD8Gg
TLDR:
- Docs in the same repo as the code
- Mechanisms for creating test data
- Rock solid database migrations
- Templates for new projects and components
- Automated code formatting
- Tested, automated process for new development environments
- Automated preview environments
A few software engineering practices which many teams will also consider "best practices."
What other useful engineering practices would you mention?
(Yes, getting back to working on @EngGuidebook!)
I'm surprised https://t.co/iRMyTDGNWV doesn't have more stars. It's a really easy and handy way to replace expensive subprocess calls in unit testing. Started to write this sort of mock by hand (again) and then found this, a couple of readable lines and it works! :)
@brettsky@naivebayesian I always build my apps (I rarely build libraries) using pyproject.toml, because it's easier to me, and would love to see it included in any enhancement if possible 🙂🤞
The mypy tool only does static type checking right... is there a way to run a Python test suite (using pytest for example) such that the type annotations are checked for every function and method call made while that test suite is running?