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 Ci and automated code formatter as well as linting tool #50

Merged
merged 13 commits into from
Aug 12, 2022

Conversation

t-ober
Copy link
Contributor

@t-ober t-ober commented Apr 7, 2022

Resolves #49

With flake8 you can test your code formatting from the command line with flake8.
With black typing black . in the command line should resolve all code formatting issues (this works like spotless).

Copy link
Member

@sebastian-peter sebastian-peter left a comment

Choose a reason for hiding this comment

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

Looks great, thanks for the effort!

If I may express a wish, it'd be to also inlcude isort :)
It can be configured to nicely play together with black.

.github/workflows/simple-ci.yml Outdated Show resolved Hide resolved
.flake8 Show resolved Hide resolved
docs/sphinx/conf.py Show resolved Hide resolved
markovs_household/data/household.py Outdated Show resolved Hide resolved
markovs_household/data/household.py Outdated Show resolved Hide resolved
@t-ober t-ober requested a review from sebastian-peter July 8, 2022 11:02
Copy link
Member

@sebastian-peter sebastian-peter left a comment

Choose a reason for hiding this comment

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

Some minor remarks

pyproject.toml Show resolved Hide resolved
.isort.cfg Outdated Show resolved Hide resolved
.flake8 Show resolved Hide resolved
@t-ober t-ober requested a review from sebastian-peter August 12, 2022 07:58
@t-ober t-ober requested a review from sebastian-peter August 12, 2022 14:17
Copy link
Member

@sebastian-peter sebastian-peter left a comment

Choose a reason for hiding this comment

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

Thanks!

@sebastian-peter sebastian-peter merged commit 766789f into main Aug 12, 2022
@sebastian-peter sebastian-peter deleted the to/#49-add-ci branch August 12, 2022 18:09
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.

Add CI for automated testing
2 participants