June 28 - July 4, 2020 in Darker: Major refactoring and new features added #620
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
-
This week saw significant changes to Darker, including the addition of new features and major refactoring of the codebase. The
--diff
option was implemented, allowing Darker to be used as a formatter in VSCode with minimal configuration changes (#4). This required a substantial refactoring to support the--isort
flag together with the new--diff
option (#11).The project's CI pipeline was improved with the addition of Mypy, Black, and isort checks as part of the pytest test run (#9, #12). Doctests were also enabled and fixed (#10), and PyPI downloads and wheels are now cached for faster CI builds (#14).
Compatibility with isort 5.x was added (#16), which simplifies configuration processing. This change required disabling pytest-isort temporarily and adjusting the code to handle cases where isort might be unavailable.
Several pull requests were merged to improve error handling, fix bugs, and enhance the overall functionality of Darker. The community continued to actively contribute, with discussions around pre-commit hooks and the best approach for integrating new features.
Beta Was this translation helpful? Give feedback.
All reactions