Skip to content

feat: better makefile/tox#35

Merged
regisb merged 1 commit intomasterfrom
regisb/better-tox-makefile
Aug 13, 2024
Merged

feat: better makefile/tox#35
regisb merged 1 commit intomasterfrom
regisb/better-tox-makefile

Conversation

@regisb
Copy link
Copy Markdown
Contributor

@regisb regisb commented Aug 13, 2024

The make and tox targets that ship with the cookiecutter are a real mess. Here, we reorganise these targets as follows:

  • tox depends on make commands
  • make commands do not depend on tox
  • make commands are more granular, and faster to run.

In addition, requirement files are reorganised to avoid circular dependencies and duplicate requirements.

Because mypy checks are now run as part of "tox -e quality", we no longer need the mypy github action.

Moreover, we introduce the compile-requirements make target, which is useful for compiling requirements without upgrading them.

We removed the diff_cover make target, which wasn't working anyway because it defaulted to "--compare-branch=main", and the "main" branch does not exist.

The make and tox targets that ship with the cookiecutter are a real
mess. Here, we reorganise these targets as follows:

- tox depends on make commands
- make commands do not depend on tox
- make commands are more granular, and faster to run.

In addition, requirement files are reorganised to avoid circular
dependencies and duplicate requirements.

Because mypy checks are now run as part of "tox -e quality", we no
longer need the mypy github action.

Moreover, we introduce the compile-requirements make target, which is
useful for compiling requirements without upgrading them.

We removed the diff_cover make target, which wasn't working anyway
because it defaulted to "--compare-branch=main", and the "main" branch
does not exist.
@regisb regisb merged commit aa79c86 into master Aug 13, 2024
@regisb regisb deleted the regisb/better-tox-makefile branch August 13, 2024 13:40
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.

2 participants