Skip to content

Harmonise build#4

Merged
guyboltonking merged 6 commits into
masterfrom
gbk-harmonise-build
Apr 21, 2022
Merged

Harmonise build#4
guyboltonking merged 6 commits into
masterfrom
gbk-harmonise-build

Conversation

@guyboltonking

Copy link
Copy Markdown
Contributor

Currently builds on top of #3; this implements the suggestions to harmonise the CI in GH actions by using tox to drive everything.

It adds wrapper scripts for tox and poetry, which create a venv, install the respective tool, and run it. This removes any requirement on the caller to mess around with setting up venvs, while not preventing their usage should developers wish to do so.

It also enforces import ordering and removal of redundant imports using autoflake and isort.

@smccarthy788 smccarthy788 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice!

Comment thread CONTRIBUTING.md Outdated

```
poetry run pytest tests
./poetry run pytest tests

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
./poetry run pytest tests
./poetryw run pytest tests

I think?

@guyboltonking guyboltonking merged commit 38d8be9 into master Apr 21, 2022
@guyboltonking guyboltonking deleted the gbk-harmonise-build branch April 21, 2022 09:15
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