Skip to content

Commit

Permalink
license doesn't break hatch as it is no SPX license
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianWilhelm committed Nov 10, 2023
1 parent 4981cd6 commit 61bcc4a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Version 0.2.3

- fix: license `propriertary` doesn't break hatch as it is no SPX license

## Version 0.2.2

- Fix: replace periods with underscores when determining `pkg_name` from `project_slug`
Expand Down
8 changes: 6 additions & 2 deletions {{cookiecutter.project_slug}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ name = "{{ cookiecutter.project_slug }}"
description = "{{ cookiecutter.project_short_description }}"
readme = "README.md"
requires-python = ">={{ cookiecutter.target_python_version }}"
# use license identifier from https://spdx.org/licenses/
{% if not cookiecutter.open_source_license == 'proprietary' %}
# only license identifier from https://spdx.org/licenses/ allowed
license = "{{ cookiecutter.open_source_license }}"
{% endif %}
license-files = { paths = ["LICENSE.txt"] }

# keywords for easier look-up on PyPI
keywords = ["keyword_1", "keyword_2"] # ToDo: Modify according to your needs!
authors = [
Expand Down Expand Up @@ -180,7 +184,7 @@ unfixable = [
]

[tool.ruff.format]
quote-style = 'single' # be more like black
quote-style = "single" # be more like black

[tool.ruff.isort]
known-first-party = ["{{ cookiecutter.pkg_name }}"]
Expand Down

0 comments on commit 61bcc4a

Please sign in to comment.