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-36086: Make pedantic=False more accepting #63

Merged
merged 4 commits into from Sep 13, 2022
Merged

DM-36086: Make pedantic=False more accepting #63

merged 4 commits into from Sep 13, 2022

Conversation

timj
Copy link
Member

@timj timj commented Sep 8, 2022

Catch all translation exceptions, not just KeyError.

With pedantic=False we should be catching all exceptions from
individual translations, not just those associated with missing
keys.
@codecov
Copy link

codecov bot commented Sep 8, 2022

Codecov Report

Base: 78.53% // Head: 78.25% // Decreases project coverage by -0.28% ⚠️

Coverage data is based on head (94f975c) compared to base (475ae3a).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #63      +/-   ##
==========================================
- Coverage   78.53%   78.25%   -0.29%     
==========================================
  Files          36       36              
  Lines        3103     3067      -36     
  Branches      550      476      -74     
==========================================
- Hits         2437     2400      -37     
- Misses        544      549       +5     
+ Partials      122      118       -4     
Impacted Files Coverage Δ
...ython/astro_metadata_translator/observationInfo.py 76.57% <100.00%> (ø)
tests/test_translation.py 98.24% <100.00%> (+0.06%) ⬆️
...ython/astro_metadata_translator/translators/hsc.py 78.16% <0.00%> (-1.19%) ⬇️
python/astro_metadata_translator/translator.py 76.59% <0.00%> (-0.93%) ⬇️
...stro_metadata_translator/translators/suprimecam.py 82.07% <0.00%> (-0.81%) ⬇️
...astro_metadata_translator/translators/megaprime.py 74.73% <0.00%> (-0.78%) ⬇️
...hon/astro_metadata_translator/translators/decam.py 72.99% <0.00%> (-0.58%) ⬇️
...thon/astro_metadata_translator/translators/sdss.py 81.00% <0.00%> (-0.56%) ⬇️
...thon/astro_metadata_translator/observationGroup.py 81.33% <0.00%> (-0.25%) ⬇️
python/astro_metadata_translator/indexing.py 70.14% <0.00%> (-0.23%) ⬇️
... and 4 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

@timj timj force-pushed the tickets/DM-36086 branch 2 times, most recently from ab7208a to 4ae079c Compare September 9, 2022 18:22
Copy link
Contributor

@mwittgen mwittgen left a comment

Choose a reason for hiding this comment

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

Would it make sense to add a yamllint GHA as well?

pyproject.toml Outdated
@@ -2,13 +2,110 @@
requires = ["lsst-versions"]
Copy link
Contributor

Choose a reason for hiding this comment

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

We had this pinned lsst_versions > 1.3.0in other repos but that shouldn't be necessary

@timj timj merged commit a1fdf22 into main Sep 13, 2022
@timj timj deleted the tickets/DM-36086 branch September 13, 2022 19:26
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