Skip to content

Commit

Permalink
feat: make private package repos explicit (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
lsorber authored Feb 10, 2024
1 parent 26e2bae commit c3e5979
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions {{ cookiecutter.__package_name_kebab_case }}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,14 @@ jupyterlab = ">=3.6.3"
pdoc = ">=13.1.1"
{%- if cookiecutter.private_package_repository_name %}

[[tool.poetry.source]]
name = "pypi"
priority = "default"

[[tool.poetry.source]] # https://python-poetry.org/docs/repositories/#using-a-private-repository
name = "{{ cookiecutter.private_package_repository_name|slugify }}"
url = "{{ cookiecutter.private_package_repository_url }}"
priority = "explicit"
{%- endif %}

[tool.coverage.report] # https://coverage.readthedocs.io/en/latest/config.html#report
Expand Down

0 comments on commit c3e5979

Please sign in to comment.