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

Use resource_path for datatypes linter #19188

Conversation

bernt-matthias
Copy link
Contributor

#17600 (comment)

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

@github-actions github-actions bot added this to the 25.0 milestone Nov 22, 2024
@bernt-matthias bernt-matthias changed the base branch from dev to release_24.2 November 22, 2024 19:31
@bernt-matthias bernt-matthias force-pushed the datatypes_linter_resource_path branch from dad8120 to 24e185c Compare November 22, 2024 19:47
@bernt-matthias bernt-matthias force-pushed the datatypes_linter_resource_path branch from 24e185c to 1459001 Compare November 23, 2024 10:21
it seems to complicated to import Traversable
@jdavcs
Copy link
Member

jdavcs commented Dec 4, 2024

Unless this is a bug fix (I guess not?), it needs to target the dev branch.

@bernt-matthias bernt-matthias changed the base branch from release_24.2 to dev December 9, 2024 14:54
@bernt-matthias bernt-matthias changed the title [24.2] Use resource_path for datatypes linter Use resource_path for datatypes linter Dec 9, 2024


def _parse_datatypes(datatype_conf_path: str) -> Set[str]:
def _parse_datatypes(datatype_conf_path) -> Set[str]:
Copy link
Member

Choose a reason for hiding this comment

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

@bernt-matthias Unfortunately dropping the type annotation here hides issues when datatype_conf_path is processed by galaxy.util.parse_xml() . Do you mind if I open a separate PR that addresses them? I went down a rabbit hole for the last couple of days unfortunately :D

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do you mind if I open a separate PR that addresses them?

No at all. Please do so.

I went down a rabbit hole for the last couple of days unfortunately

Good that you found out again.

@bernt-matthias
Copy link
Contributor Author

Superseded by #19331

@bernt-matthias bernt-matthias deleted the datatypes_linter_resource_path branch December 17, 2024 15:05
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.

3 participants