Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

feat: improve template based on internal review #36

Merged
merged 15 commits into from
Aug 2, 2019

Conversation

martinm82
Copy link
Member

@martinm82 martinm82 commented Jul 31, 2019

This PR contains various changes/improvements which are:

  • Make tox and Makefile support configurable
  • delete pyproject.toml in case it is empty
  • improve contribution.md and readme
  • fix coverage target in Makefile
  • add entrypoint in Dockerfile pointing to defined entrypoint in setup.py

@martinm82 martinm82 force-pushed the feature/template-improvements branch from f056c91 to d9c2794 Compare August 1, 2019 09:33
eugene-davis
eugene-davis previously approved these changes Aug 1, 2019
maikelvdh
maikelvdh previously approved these changes Aug 1, 2019
@martinm82 martinm82 dismissed stale reviews from maikelvdh and eugene-davis via de51c6b August 2, 2019 06:54
@martinm82 martinm82 force-pushed the feature/template-improvements branch from 2be4b76 to de51c6b Compare August 2, 2019 06:54
@martinm82 martinm82 changed the title WIP: feat: improve template based on internal review feat: improve template based on internal review Aug 2, 2019
@martinm82 martinm82 self-assigned this Aug 2, 2019
@martinm82 martinm82 added the enhancement New feature or request label Aug 2, 2019
eugene-davis
eugene-davis previously approved these changes Aug 2, 2019
@@ -24,4 +24,4 @@ FROM $PYTHON_BASE
COPY --from=deploy_builder /opt/venv /opt/venv

ENV PATH="/opt/venv/bin:$PATH"
ENTRYPOINT [""]
ENTRYPOINT ["{{ cookiecutter.project_name }}"]
Copy link
Contributor

Choose a reason for hiding this comment

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

name is slug? my-tool or my_tool ?

Copy link
Member Author

Choose a reason for hiding this comment

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

slug=my_tool
project_name=my-tool

@@ -52,12 +52,14 @@ setup: setup-checks ## install dev requirements
virtualenv --python=$(PYTHONVERSION) $(PYTHONENV)
$(ENVPIP) install -r requirements_dev.txt

clean-all: clean
Copy link
Contributor

Choose a reason for hiding this comment

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

I think clean should always be clean all.

Copy link
Member Author

Choose a reason for hiding this comment

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

Can't be because otherwise some commands will fail due to missing virtualenv (eg. dist target)

"use_spellcheck": "y",
"use_spellcheck": "n",

"use_tox": "n",
Copy link

Choose a reason for hiding this comment

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

No Tox by default?

Copy link
Member Author

Choose a reason for hiding this comment

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

Nope, it is still an experimental feature (same as Makefile)

@martinm82 martinm82 merged commit 89ce0f9 into master Aug 2, 2019
@delete-merged-branch delete-merged-branch bot deleted the feature/template-improvements branch August 2, 2019 11:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants