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

MAINT: minor fixes to setup.cfg and MANIFEST #371

Merged
merged 5 commits into from
Nov 1, 2022

Conversation

bsipocz
Copy link
Member

@bsipocz bsipocz commented Oct 5, 2022

This will close #302 and also clears up the inconsistency between code and docs line length.

@bsipocz bsipocz added this to the v1.4.1 milestone Oct 5, 2022
@bsipocz bsipocz marked this pull request as ready for review October 5, 2022 06:24
@codecov
Copy link

codecov bot commented Oct 5, 2022

Codecov Report

Merging #371 (a7f247f) into main (a7f247f) will not change coverage.
The diff coverage is n/a.

❗ Current head a7f247f differs from pull request most recent head 675fde5. Consider uploading reports for the commit 675fde5 to get more accurate results

@@           Coverage Diff           @@
##             main     #371   +/-   ##
=======================================
  Coverage   78.55%   78.55%           
=======================================
  Files          47       47           
  Lines        5564     5564           
=======================================
  Hits         4371     4371           
  Misses       1193     1193           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@bsipocz
Copy link
Member Author

bsipocz commented Oct 16, 2022

There is only one expected linter error due to #378. I expect the fix for that bug is trivial and quick, so I didn't apply any workarounds for it in this set of linter fixes.

@bsipocz bsipocz force-pushed the MAINT_manifest_and_setup branch 2 times, most recently from dca29ac to 677ce0b Compare October 18, 2022 08:04
@bsipocz bsipocz force-pushed the MAINT_manifest_and_setup branch from a39a756 to d82bb9a Compare October 25, 2022 11:49
Copy link
Contributor

@andamian andamian left a comment

Choose a reason for hiding this comment

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

I hope you've used a reformat tool... Thank you!

@@ -165,20 +164,20 @@ def test_mirrors_parsed(self, parsed_caps):

def test_mirrors_have_titles(self, parsed_caps):
assert [m.title for m in parsed_caps[3].interfaces[0].mirrorurls
] == ["https version", "Paris mirror"]
] == ["https version", "Paris mirror"]
Copy link
Contributor

Choose a reason for hiding this comment

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

For these I would have closed the bracket in the row above.

assert rtcons.Freetext("α Cen's planets").get_search_condition() == (
"ivoid IN (SELECT ivoid FROM rr.resource WHERE 1=ivo_hasword(res_description, 'α Cen''s planets')"
" UNION SELECT ivoid FROM rr.resource WHERE 1=ivo_hasword(res_title, 'α Cen''s planets') "
"UNION SELECT ivoid FROM rr.res_subject WHERE res_subject ILIKE '%α Cen''s planets%')")
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpicking - consistency in whitespaces in front of 'UNION`

return rtcons.build_regtap_query(cons
).split("\nWHERE\n", 1)[1].split("\nGROUP BY\n")[0]
).split("\nWHERE\n", 1)[1].split("\nGROUP BY\n")[0]
Copy link
Contributor

Choose a reason for hiding this comment

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

The new line seems mispositioned IMO.

@bsipocz
Copy link
Member Author

bsipocz commented Nov 1, 2022

I hope you've used a reformat tool... Thank you!

yep, used autopep8 which took care of most of the things, and then I touched up the remaining ones manually.

@bsipocz bsipocz merged commit 699472d into astropy:main Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MNT: Clean up MANIFEST.in
2 participants