-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switched to pyproject; support collections.abc types
- Loading branch information
1 parent
fd8d16c
commit 766020a
Showing
9 changed files
with
86 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
github: [patrick-kidger] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Release | ||
uses: patrick-kidger/action_update_python_project@v2 | ||
with: | ||
python-version: "3.11" | ||
test-script: "" | ||
pypi-token: ${{ secrets.pypi_token }} | ||
github-user: patrick-kidger | ||
github-token: ${{ github.token }} | ||
email-user: ${{ secrets.email_user }} | ||
email-token: ${{ secrets.email_token }} | ||
email-server: ${{ secrets.email_server }} | ||
email-target: ${{ secrets.email_target }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
[project] | ||
name = "pytkdocs_tweaks" | ||
version = "0.0.7" | ||
description = "Some custom tweaks to the results produced by pytkdocs (part of mkdocstrings)." | ||
readme = "README.md" | ||
requires-python ="~=3.8" | ||
license = {file = "LICENSE"} | ||
authors = [ | ||
{name = "Patrick Kidger", email = "contact@kidger.site"}, | ||
] | ||
keywords = ["documentation", "mkdocs", "mkdocs-material", "mkdocstrings"] | ||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Natural Language :: English", | ||
"Programming Language :: Python :: 3", | ||
] | ||
urls = {repository = "https://github.com/patrick-kidger/pytkdocs_tweaks" } | ||
dependencies = ["pytkdocs>=0.15.0"] | ||
|
||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.hatch.build] | ||
include = ["pytkdocs_tweaks/*"] | ||
|
||
[tool.ruff] | ||
select = ["E", "F", "I001"] | ||
ignore = ["E402", "E721", "E731", "E741", "F722"] | ||
ignore-init-module-imports = true | ||
fixable = ["I001", "F401"] | ||
|
||
[tool.ruff.isort] | ||
combine-as-imports = true | ||
lines-after-imports = 2 | ||
extra-standard-library = ["typing_extensions"] | ||
order-by-type = false | ||
|
||
[tool.pyright] | ||
reportIncompatibleMethodOverride = true | ||
include = ["pytkdocs_tweaks"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters