March 3-10, 2024 in Darker: Optimizing file processing and compatibility fixes #721
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 merged a solution to optimize file handling, particularly addressing the Windows command line length issue (PR #542). This change focuses on processing only modified files, enhancing performance for large codebases. We also made the decision to filter out unmodified files by default when determining which files to format (PR #545).
On the compatibility front, we resolved issues with newer versions of Pygments in our test suite (PRs #546, #549) and updated our GitHub Actions to use
actions/checkout@v4
(PR #547). We also made progress on supporting Black 24.2 and above (PR #550), implementing a local version offind_pyproject_toml()
to ensure compatibility across different Black versions. The community continued discussions on potentially supporting Ruff's formatter as an alternative to Black (Issue #521), with interest in its performance benefits and the possibility of supporting multiple formatters. Additionally, we made substantial progress in extracting common components with Graylint into Darkgraylib (PR #501), improving our codebase structure and maintainability.Beta Was this translation helpful? Give feedback.
All reactions