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

Fixes various test, pre-commit issues after fixing testing workflow #502

Merged
merged 4 commits into from
Dec 4, 2024

Conversation

falquaddoomi
Copy link
Collaborator

@falquaddoomi falquaddoomi commented Dec 4, 2024

This PR includes fixes to issues that may have accumulated while the testing workflow was broken; the testing workflow was recently fixed in PR #500.

Most of the changes in this PR relate to two OBNB modules shadowing builtins:

  • obnb.typing shadowed builtin typing module, and was changed to obnb.alltypes
  • obnb.data.network.string shadowed builtin string module, and was changed to obnb.data.network.stringprot

Another minor flake8 issue in obnb.ext.orbital_features was also resolved; the tool recommended switching a dict comprehension that filled a dict with zeroes to use the dict.fromkeys() function, which is a more efficient way to achieve the same thing. (Unfortunately, that change ended up being included in the large refactor commit mentioned above.)

@falquaddoomi falquaddoomi changed the title Fixes flake8 issues after fixing testing workflow Fixes various test, pre-commit issues after fixing testing workflow Dec 4, 2024
@falquaddoomi falquaddoomi merged commit fa6f240 into krishnanlab:main Dec 4, 2024
3 checks passed
@falquaddoomi falquaddoomi deleted the general-testing-fixes branch December 4, 2024 18:15
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.

1 participant