Skip to content
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

DM-38499: Clean up package and change to run flake8/ruff #115

Merged
merged 41 commits into from
Jul 14, 2023
Merged

Conversation

timj
Copy link
Member

@timj timj commented Jun 27, 2023

Should not be merged until we update to rubin-env 7 so that we have the fast flake8 and ruff available. Potentially this PR could be split into two: one for running flake8/ruff and the other all the cleanups.

@codecov
Copy link

codecov bot commented Jun 27, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (cba24d1) 87.50% compared to head (06f6162) 87.50%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #115   +/-   ##
=======================================
  Coverage   87.50%   87.50%           
=======================================
  Files           5        5           
  Lines          32       32           
  Branches        2        2           
=======================================
  Hits           28       28           
  Misses          2        2           
  Partials        2        2           
Impacted Files Coverage Δ
tests/testFailedTests/SConstruct 100.00% <100.00%> (ø)
tests/test_all.py 84.61% <100.00%> (ø)
tests/test_simple.py 81.81% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@timj timj force-pushed the tickets/DM-38499 branch 9 times, most recently from 1874e05 to dd27a7d Compare June 28, 2023 20:05
@timj timj marked this pull request as ready for review June 28, 2023 20:07
@timj timj requested a review from ktlim July 5, 2023 19:01
Copy link
Contributor

@ktlim ktlim left a comment

Choose a reason for hiding this comment

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

A few comments to start with. Still need to read through installation, scripts, state, and tests.

# supported by your project here, or alternatively use
# pre-commit's default_language_version, see
# https://pre-commit.com/#top_level-default_language_version
language_version: python3.10
Copy link
Contributor

Choose a reason for hiding this comment

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

If latest is python3.11, how come this is python3.10?

Copy link
Member Author

Choose a reason for hiding this comment

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

Formally we are still on python 3.10 although if this isn't merging until python 3.11 is the standard then I can change that.

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, I see you're reading "supported" differently from the way I did (the highest level in your matrix).

doc/conf.py Outdated Show resolved Hide resolved
python/lsst/sconsUtils/__init__.py Outdated Show resolved Hide resolved
python/lsst/sconsUtils/builders.py Outdated Show resolved Hide resolved
python/lsst/sconsUtils/builders.py Outdated Show resolved Hide resolved
python/lsst/sconsUtils/dependencies.py Show resolved Hide resolved
setup.cfg Show resolved Hide resolved
python/lsst/sconsUtils/installation.py Outdated Show resolved Hide resolved
python/lsst/sconsUtils/tests.py Outdated Show resolved Hide resolved
python/lsst/sconsUtils/tests.py Show resolved Hide resolved
python/lsst/sconsUtils/tests.py Outdated Show resolved Hide resolved
sconsUtils only has to work with current rubin-env
miniconda is broken on python 3.11 + macOS
@timj timj merged commit 88b277b into main Jul 14, 2023
9 checks passed
@timj timj deleted the tickets/DM-38499 branch July 14, 2023 03: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.

None yet

2 participants