Skip to content

chore: updated pre-commit hook dependencies#29

Merged
sbillinge merged 4 commits into
diffpy:mainfrom
SYMSCAE:dependency-update
May 29, 2026
Merged

chore: updated pre-commit hook dependencies#29
sbillinge merged 4 commits into
diffpy:mainfrom
SYMSCAE:dependency-update

Conversation

@SYMSCAE
Copy link
Copy Markdown
Contributor

@SYMSCAE SYMSCAE commented May 29, 2026

Summary

This PR performs pre-commit hook maintenance by updating formatter, linter, and tooling hook revisions.

Changes

  • Updated pre-commit-hooks from v4.6.0 to v6.0.0
  • Updated black from 24.4.2 to 26.3.1
  • Updated flake8 from 7.0.0 to 7.3.0
  • Updated isort from 5.13.2 to 9.0.0a3
  • Updated nbstripout from 0.7.1 to 0.9.1
  • Updated codespell from v2.3.0 to v2.4.2
  • Changed formatter from ruff to docformatter, resolves Change ruff to docformatter 1.7.8 #28

@SYMSCAE SYMSCAE changed the title updated dependencies chore: updated pre-commit hook dependencies May 29, 2026
@SYMSCAE SYMSCAE marked this pull request as ready for review May 29, 2026 03:31
@SYMSCAE
Copy link
Copy Markdown
Contributor Author

SYMSCAE commented May 29, 2026

@stevenhua0320 PR ready to review.

@stevenhua0320
Copy link
Copy Markdown
Contributor

@SYMSCAE We are going to use docformatter to be consistent across all packages, so the way we will fix this is summarized in the issue here #28, please read that and make the corresponding edit.

@SYMSCAE
Copy link
Copy Markdown
Contributor Author

SYMSCAE commented May 29, 2026

@stevenhua0320 Please verify the changes.

@stevenhua0320
Copy link
Copy Markdown
Contributor

Looks good, @sbillinge ready for review.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.63%. Comparing base (67b0e9a) to head (9f86923).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #29   +/-   ##
=======================================
  Coverage   81.63%   81.63%           
=======================================
  Files           3        3           
  Lines          49       49           
=======================================
  Hits           40       40           
  Misses          9        9           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sbillinge
Copy link
Copy Markdown
Contributor

@SYMSCAE please see an issue I added, #30 . Meanwhile, this is passing tests so I can merge it.

@sbillinge sbillinge merged commit 4a8fee1 into diffpy:main May 29, 2026
6 checks passed
@SYMSCAE SYMSCAE deleted the dependency-update branch May 29, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change ruff to docformatter 1.7.8

3 participants