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 precommit and update tox targets #28

Merged
merged 10 commits into from
Dec 23, 2022
Merged

Conversation

zerolab
Copy link
Collaborator

@zerolab zerolab commented Sep 21, 2022

Fixes #15
Fixes #21

the eslint job should be added after #20

@zerolab
Copy link
Collaborator Author

zerolab commented Sep 26, 2022

cc @allcaps

Copy link
Contributor

@chris48s chris48s left a comment

Choose a reason for hiding this comment

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

This is going to have mad merge conflicts with #32 but I reckon lets get this one finished, merge it roughly as it stands, and then I'll rebase my branch onto this, update all the pip/setuptools stuff to flit.

One of your finest reviews would be appreciated in return 🙏

If you want to kick the can of python 3.11/wagtail 4.1 down the road, I reckon that's reasonable.

wagtail-{{ cookiecutter.project_name_kebab }}/setup.cfg Outdated Show resolved Hide resolved
python{3.7,3.8,3.9}-django{3.2}-wagtail{2.15,3.0,4.0}-{sqlite,postgres}
python{3.10}-django{3.2}-wagtail{2.15,3.0,4.0,main}-{sqlite,postgres}
python{3.7,3.8,3.9,3.10}-django{4.0}-wagtail{3.0,4.0,main}-{sqlite,postgres}
python{3.8,3.9,3.10}-django{4.1,main}-wagtail{4.0,main}-{sqlite,postgres}
Copy link
Contributor

Choose a reason for hiding this comment

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

Python 3.11 has been released in the time between submitting this and someone reviewing it, and wagtail 4.1. Shall we get both tox and the workflow file testing on the latest versions, or just get this merged and then do another Pr bumping them. I don't want to let perfect be the enemy of the good too much here..

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

added to the mix

wagtail-{{ cookiecutter.project_name_kebab }}/README.md Outdated Show resolved Hide resolved
wagtail-{{ cookiecutter.project_name_kebab }}/README.md Outdated Show resolved Hide resolved
cancel-in-progress: true

permissions:
contents: read # to fetch code (actions/checkout)
Copy link
Contributor

Choose a reason for hiding this comment

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

Some comment as #29 (comment) here. This is now the default

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Leaving it there on the "explicit > implicit"

@zerolab zerolab mentioned this pull request Dec 23, 2022
@chris48s
Copy link
Contributor

Ta. I'm going to merge this one now. I will deal with the monster rebase on #32 sometime after Christmas.

@chris48s chris48s merged commit cc2d4eb into wagtail:main Dec 23, 2022
@lb-
Copy link
Member

lb- commented Dec 23, 2022

Thanks @zerolab and all - this is a nice improvement

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 Black formatting by default Tox: Pass through extra arguments to the test command
3 participants