Skip to content

Pre-Commit Config; Workflow; Some Refactoring#16

Merged
electronsandstuff merged 9 commits intomasterfrom
add-pre-commit
Jan 13, 2025
Merged

Pre-Commit Config; Workflow; Some Refactoring#16
electronsandstuff merged 9 commits intomasterfrom
add-pre-commit

Conversation

@electronsandstuff
Copy link
Owner

@electronsandstuff electronsandstuff commented Jan 13, 2025

This PR adds adds ruff auto-formatting to the project. Some cleanup and refactoring was done.

  • New config file for pre-commit which includes automated formatting. Developers should install the commit hooks using pre-commit install
  • Ran formatting on all files.
  • Added environment.yml with dependencies needed for developers.
  • Cleaned up file headers and import statements.
  • Moved constants to their own file.
  • Exceptions get their own file

@electronsandstuff electronsandstuff changed the title Add Pre-Commit Config and Workflow Pre-Commit Config; Workflow; Some Refactoring Jan 13, 2025
@electronsandstuff electronsandstuff merged commit 3853857 into master Jan 13, 2025
13 checks passed
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