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

Linting and formatting #33

Merged
merged 6 commits into from
Jul 25, 2023
Merged

Linting and formatting #33

merged 6 commits into from
Jul 25, 2023

Conversation

hugovk
Copy link
Collaborator

@hugovk hugovk commented Jun 13, 2023

Let's use the popular https://github.com/psf/black autoformatter for Python code, it makes everything nice and consistent.

Similarly, let's use https://github.com/PyCQA/isort for sorting imports, https://github.com/prettier/prettier for Markdown, and some other linters, and check them on GitHub Actions.

I put the isort config in pyproject.toml; this is the file preferred for modern packaging and config, and in a future PR I can migrate setup.cfg and setup.py over too.

@hugovk
Copy link
Collaborator Author

hugovk commented Jun 14, 2023

Merge conflict resolved.

@hugovk hugovk merged commit 94ee1df into marcusvolz:main Jul 25, 2023
@hugovk hugovk deleted the lint branch July 25, 2023 07:34
@hugovk hugovk mentioned this pull request Jul 25, 2023
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