July 2020 in Darker: Improved Configuration and Integration #621
akaihola
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The first week of July saw significant enhancements to Darker's compatibility and configurability. A major update introduced support for isort 5.x (#16), improving import sorting functionality and simplifying configuration. This change required adjustments to the project's setup and testing infrastructure, including temporarily disabling pytest-isort.
The
--diff
option was merged (#4), allowing Darker to be used as a formatter in VS Code with minimal configuration changes. This feature, along with improvements to isort integration, enhances Darker's usability in various development environments. Additionally, the project saw refinements in its CI process, with the introduction of caching for PyPI downloads and wheels to speed up builds (#14).Several pull requests focused on code quality and testing. Mypy and Black checks were integrated into the pytest test run (#9), doctests were enabled and fixed (#10), and isort checks were added to Travis CI (#12). These changes collectively strengthen Darker's development process and code reliability. The project also saw ongoing discussions about implementing pre-commit hooks (#2), with contributors exploring various approaches to integrate Darker into Git workflows effectively.
Beta Was this translation helpful? Give feedback.
All reactions