The podcast covers the topics of using exclude_also with coverage.py, a cool feature to exclude code blocks from test coverage. They also talk about Writeside, an IDE for writing documentation, highlighting its features and benefits.
The 'exclude_also' option in coverage.py allows for easy exclusion of specific code blocks from coverage testing, making the process more efficient and streamlined.
Writer/Side is an IDE designed specifically for creating and managing documentation, offering features such as support for Markdown and the ability to import reusable sections, making documentation workflows more convenient and effective.
Deep dives
Summary of Python Bites Episode 360
This episode of Python Bites discusses various topics such as the importance of code coverage testing and how to exclude certain sections while using Python coverage. The hosts also introduce Writer/Side, an IDE for documentation, and highlight its features and benefits. They further mention the recent appointment of a new community communications manager at the PSF and share their thoughts on Google's attempts to balance privacy and advertising on the web. Additional topics covered include the Complete Python Testing Course and its integration with PyCharm, JetBrains' upcoming webinar series, GPT-for-all's Rest API, and the compatibility of GPT-for-all with Docker containers. The hosts also share their experiences with PyCharm's AI-powered autocompletion feature and discuss the incongruity of Python conferences requiring masks compared to other large gatherings.
Python Coverage Testing and Exclusions
The hosts discuss the importance of code coverage testing in Python and highlight a recent thread on Mastodon about coverage testing for abstract base classes. They mention the use of the 'pragma no cover' option to exclude specific sections of code from coverage testing but note that this approach can be cumbersome. They then introduce a new option called 'exclude also' in the coverage configuration file, which allows for easier exclusion of specific code blocks from coverage testing. The hosts share their positive experiences using this feature in various projects.
Introducing Writer/Side: An IDE for Documentation
Writer/Side is introduced as an IDE specifically designed for creating and managing documentation. The hosts discuss its features, including support for Markdown, the ability to import reusable sections of documentation, and its compatibility with Python projects. They also mention that Writer/Side can be used as a standalone application or as an integration with PyCharm. They express excitement about the potential uses of this IDE and encourage listeners to give it a try.
Recent Updates and Events in the Python Community
The hosts share updates from the Python community, including the announcement of a new community communications manager at the PSF. They also express their thoughts on Google's attempts to balance privacy and advertising on the web, highlighting the incongruence of Python conferences requiring masks compared to other large events. Additionally, they mention the availability of PyCharm Pro coupon codes for students enrolled in the Complete Python Testing Course, and they discuss upcoming webinars by PyCharm and the GPT-for-All project's REST API and Docker integration.