Skip to content

Commit

Permalink
Update pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
nabobalis authored Dec 7, 2024
1 parent 9126941 commit 8e42bbe
Showing 1 changed file with 6 additions and 78 deletions.
84 changes: 6 additions & 78 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,27 +59,18 @@ docs = [
"sphinx-automodapi",
"sphinx-changelog",
"sunpy-sphinx-theme",
"packaging",
<<<<<<<
=======
]

[project.urls]
Homepage = "https://github.com/sunpy/sunkit-pyvista"
Download = "https://pypi.org/project/sunkit-pyvista"

[tool.setuptools]
zip-safe = false
>>>>>>>
"sunkit_pyvista[all]",
"sphinx-changelog",
"sphinx-design",
"sphinx-gallery",
"sunkit-magex",
"streamtracer", # Required by sunkit-magex
]
dev = ["sunkit_pyvista[tests,docs]"]

[project.urls]
Homepage = "https://github.com/sunpy/sunkit-pyvista"
Download = "https://pypi.org/project/sunkit-pyvista"

[tool.setuptools]
zip-safe = false
include-package-data = true
Expand All @@ -95,65 +86,6 @@ namespaces = false
[tool.setuptools_scm]
write_to = "sunkit_pyvista/_version.py"

[ tool.gilesbot ]
[ tool.gilesbot.pull_requests ]
enabled = true

[ tool.gilesbot.towncrier_changelog ]
enabled = true
verify_pr_number = true
changelog_skip_label = "No Changelog Entry Needed"
help_url = "https://github.com/sunpy/sunpy/blob/main/changelog/README.rst"
changelog_missing_long = "There isn't a changelog file in this pull request. Please add a changelog file to the `changelog/` directory following the instructions in the changelog [README](https://github.com/sunpy/sunpy/blob/main/changelog/README.rst)."
type_incorrect_long = "The changelog file you added is not one of the allowed types. Please use one of the types described in the changelog [README](https://github.com/sunpy/sunpy/blob/main/changelog/README.rst)"
number_incorrect_long = "The number in the changelog file you added does not match the number of this pull request. Please rename the file."

[tool.towncrier]
package = "sunkit_pyvista"
filename = "CHANGELOG.rst"
directory = "changelog/"
issue_format = "`#{issue} <https://github.com/sunpy/sunkit-pyvista/pull/{issue}>`__"
title_format = "{version} ({project_date})"

[[tool.towncrier.type]]
directory = "breaking"
name = "Breaking Changes"
showcontent = true

[[tool.towncrier.type]]
directory = "removal"
name = "Removals"
showcontent = true

[[tool.towncrier.type]]
directory = "deprecations"
name = "Deprecations"
showcontent = true

[[tool.towncrier.type]]
directory = "feature"
name = "Features"
showcontent = true

[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug Fixes"
showcontent = true

[[tool.towncrier.type]]
directory = "doc"
name = "Documentation"
showcontent = true

<<<<<<<
[[tool.towncrier.type]]
directory = "trivial"
name = "Internal Changes"
showcontent = true
=======
[tool.setuptools_scm]
write_to = "sunkit_pyvista/_version.py"

[tool.gilesbot]
[tool.gilesbot.pull_requests]
enabled = true
Expand All @@ -162,12 +94,9 @@ write_to = "sunkit_pyvista/_version.py"
enabled = true
verify_pr_number = true
changelog_skip_label = "No Changelog Entry Needed"
help_url = "https://github.com//blob/main/changelog/README.rst"

help_url = "https://github.com/sunpy/sunkit-pyvista/blob/main/changelog/README.rst"
changelog_missing_long = "There isn't a changelog file in this pull request. Please add a changelog file to the `changelog/` directory following the instructions in the changelog [README](https://github.com//blob/main/changelog/README.rst)."

type_incorrect_long = "The changelog file you added is not one of the allowed types. Please use one of the types described in the changelog [README](https://github.com//blob/main/changelog/README.rst)"

number_incorrect_long = "The number in the changelog file you added does not match the number of this pull request. Please rename the file."

# TODO: This should be in towncrier.toml but Giles currently only works looks in
Expand All @@ -176,7 +105,7 @@ write_to = "sunkit_pyvista/_version.py"
package = "sunkit-pyvista"
filename = "CHANGELOG.rst"
directory = "changelog/"
issue_format = "`#{issue} https:github.com//changelog/pull/{issue}>`__"
issue_format = "`#{issue} <https://github.com/sunpy/sunkit-pyvista/pull/{issue}>`__"
title_format = "{version} ({project_date})"

[[tool.towncrier.type]]
Expand Down Expand Up @@ -213,4 +142,3 @@ write_to = "sunkit_pyvista/_version.py"
directory = "trivial"
name = "Internal Changes"
showcontent = true
>>>>>>>

0 comments on commit 8e42bbe

Please sign in to comment.