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-31723: Update code for new name and location #1

Merged
merged 24 commits into from
Dec 3, 2021
Merged

Conversation

timj
Copy link
Member

@timj timj commented Nov 30, 2021

Prior to this the code assumed that it was in daf_butler and had no build infrastructure in the history.

@codecov
Copy link

codecov bot commented Nov 30, 2021

Codecov Report

❗ No coverage uploaded for pull request base (main@78a9521). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main       #1   +/-   ##
=======================================
  Coverage        ?   83.57%           
=======================================
  Files           ?       13           
  Lines           ?     1826           
  Branches        ?      263           
=======================================
  Hits            ?     1526           
  Misses          ?      217           
  Partials        ?       83           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 78a9521...655e653. Read the comment docs.

The repository was converted from daf_butler @ commit 5039d9a8 using

git filter-repo --path python/lsst/daf/butler/core/_butlerUri/ --path python/lsst/daf/butler/core/_butlerUri.py \
   --path python/lsst/daf/butler/core/location.py \
   --path tests/test_uri.py \
   --path tests/test_location.py \
   --path-rename python/lsst/daf/butler/core/_butlerUri/:python/lsst/butlerUri/ \
   --path-rename python/lsst/daf/butler/core/_butlerUri.py:python/lsst/butlerUri/__init__.py \
   --path ups --path-rename python/lsst/daf/butler/core/location.py:python/lsst/butlerUri/location.py
@timj timj requested a review from TallJimbo November 30, 2021 21:47
This lets other packages find the type annotations.
@timj timj force-pushed the tickets/DM-31723 branch 2 times, most recently from 7c60607 to a2b61c5 Compare December 3, 2021 21:00
- uses: actions/checkout@v2
- uses: psf/black@stable
with:
options: "--check --verbose --diff --line-length 110 --target-version py38"
Copy link
Member Author

Choose a reason for hiding this comment

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

@TallJimbo I've turned on black in this repo to see how we get on. These options seemed reasonable.

Copy link
Member Author

Choose a reason for hiding this comment

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

and I realized I could put those options in the pyproject.toml file.

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Okay done. I've also committed a pre-commit config file.

E203 has to be disabled in flake8 testing to accomodate black.
Turns out that flake8 is wrong.
@timj timj merged commit 558db70 into main Dec 3, 2021
@timj timj deleted the tickets/DM-31723 branch December 3, 2021 22:08
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

4 participants