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

PR Part 1/3 of Cookiecutter pre-commit workflow #53

Merged
merged 4 commits into from
Aug 1, 2024

Conversation

bobleesj
Copy link
Contributor

@bobleesj bobleesj commented Aug 1, 2024

Please review the first portion of the pre-commit workflow provided here: https://github.com/Billingegroup/cookiecutter

As instructed:

  • Added black config in pyproject.toml
  • Ran black diffpy
  • Ran black .
  • Added .flake8
  • CI passes

Should I manually modify the files with flake8 errors here? I saw the instruction for black but did not see the explicit instruction for running flake8 from Step 1-10.

@bobleesj bobleesj changed the title Part 1/2 of Cookiecutter pre-commit workflow PR Part 1/3 of Cookiecutter pre-commit workflow Aug 1, 2024
@bobleesj
Copy link
Contributor Author

bobleesj commented Aug 1, 2024

@sbillinge Please review

@Tieqiong
Copy link

Tieqiong commented Aug 1, 2024

@bobleesj make sure you are using the right .flake8 file.

@bobleesj
Copy link
Contributor Author

bobleesj commented Aug 1, 2024

@Tieqiong .flake8 file has been fixed.

@sbillinge sbillinge changed the base branch from main to cookie August 1, 2024 22:54
Copy link
Contributor

@sbillinge sbillinge left a comment

Choose a reason for hiding this comment

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

This looks great @bobleesj thanks! Great start!

I created a new branch , cookie, which we will use for the new base. Please fetch upstream and build new branches off cookie, and also make PRs into cookie. When everything is finished we will merge it into main.

@sbillinge sbillinge merged commit 5439088 into diffpy:cookie Aug 1, 2024
1 of 2 checks passed
@bobleesj
Copy link
Contributor Author

bobleesj commented Aug 2, 2024

Will make PRs to cookie from now on. Thanks!

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.

3 participants