Skip to content

Format & format-check: only target python directories #1831

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 27, 2025

Conversation

MalteEbner
Copy link
Contributor

Description:

Makes the format & format-check only target python directories. This is relevant for users having other python directories which should not be formatted.

E.g. it prevents problems like this one:

.venv_3p7__minimalmalteebnerlightly@Maltes-MacBook-Pro lightly % make format
isort .
Fixing /Users/malteebnerlightly/Documents/GitHub/lightly/.venv_3p10/bin/f2py
Fixing /Users/malteebnerlightly/Documents/GitHub/lightly/.venv_3p10/bin/numpy-config

Copy link
Contributor

@liopeer liopeer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@MalteEbner MalteEbner enabled auto-merge (squash) May 27, 2025 07:38
Copy link

codecov bot commented May 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.69%. Comparing base (3642a12) to head (8c637d4).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1831   +/-   ##
=======================================
  Coverage   85.69%   85.69%           
=======================================
  Files         164      164           
  Lines        6921     6921           
=======================================
  Hits         5931     5931           
  Misses        990      990           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@MalteEbner MalteEbner merged commit bea9224 into master May 27, 2025
14 checks passed
@MalteEbner MalteEbner deleted the malte-format-only-python-packages branch May 27, 2025 07:38
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.

2 participants