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

Add linting (code formatting) action to the PCR-GLOBWB_model master branch #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BramDr
Copy link
Contributor

@BramDr BramDr commented Mar 1, 2024

GitHub Actions are automated processes that fire during any GitHub action, such as push or pull request. I have added a GitHub action that automatically lints the code in the repository using isort for the python imports and black for the code, for any push to the master branch. It does so by automatically generating another commit with the fixes to the code.

This GitHub Action integration will help maintain a clear an structured code-base and fixes #30, fixes #29 and fixes #28 automatically (also in the future).

Possible downsides:

  1. Strict black formatting applied
  2. New commit after every push (so maybe make development branch, in line with issue Make development branch #37)

@BramDr BramDr added the enhancement Enhancement request label Mar 1, 2024
@BramDr BramDr linked an issue Mar 1, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement request
Projects
None yet
2 participants