April 25 - May 1, 2021 in Darker: Test Coverage Boost and Windows Compatibility #645
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This week, we focused on improving Darker's test coverage and addressing Windows compatibility issues. We merged several pull requests that enhanced our testing framework and fixed platform-specific problems.
We significantly expanded our test coverage, particularly for Git and linting functionality (#97, #98, #99). These improvements included refactoring Git calls, enhancing the GitRepoFixture, and adding tests for various linting scenarios. We also addressed a critical Windows installation issue (#121) by explicitly reading the README file as UTF-8 in setup.py (#123), resolving a
UnicodeDecodeError
that was preventing installation on Windows systems.In response to user feedback, we made progress on resolving pre-commit hook integration issues (#113). We discussed potential solutions to make Darker more compatible with different pre-commit execution contexts, including a fallback mechanism to run against HEAD when pre-commit environment variables are not set. Additionally, we updated our build badge to point to the GitHub action instead of Travis (#127), reflecting our transition to GitHub Actions for continuous integration.
Beta Was this translation helpful? Give feedback.
All reactions