April 18-24, 2021 in Darker: Windows compatibility and test coverage improvements #644
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, we made significant progress in improving Darker's cross-platform compatibility and test coverage. We addressed a critical Windows installation issue (#121) by explicitly reading the README file as UTF-8 in setup.py (#123). This fix should resolve the UnicodeDecodeError that was preventing installation on Windows systems.
We also expanded our test coverage, particularly for the use of Git and linting functionality (#97, #98, #99). These improvements included refactoring Git calls, enhancing the
GitRepoFixture
, and adding tests for various linting scenarios. These changes not only increase our code quality but also help catch potential issues earlier in the development process.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. This approach aims to provide a more intuitive experience for users while maintaining flexibility for advanced use cases.
Beta Was this translation helpful? Give feedback.
All reactions