generated from felix-hilden/python-minimal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0daa4b8
commit b115625
Showing
26 changed files
with
292 additions
and
292 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
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 |
---|---|---|
@@ -1,8 +1,5 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: Package chat | ||
url: https://example.org | ||
about: Our chat for help and general discussion | ||
- name: Stack Overflow | ||
url: https://stackoverflow.com/questions/tagged/package | ||
about: Forum for asking and answering questions about Package | ||
- name: GitHub discussions | ||
url: https://github.com/felix-hilden/python-package/discussions | ||
about: Q&A and general discussions |
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 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 |
---|---|---|
@@ -1,11 +1,13 @@ | ||
<!-- | ||
Hi, thanks for submitting a pull request! | ||
This is an example template to start with. | ||
Please write a short summary of your changes and fill in information below. | ||
If some checks don't apply, please check them regardless. | ||
--> | ||
|
||
Related issue: #XXX | ||
|
||
- [ ] Tests written | ||
- [ ] Tests written and passed | ||
- [ ] Documentation and changelog entry written | ||
- [ ] All `tox` checks passed with an appropriately configured environment | ||
- [ ] All `tox` checks passed |
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 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 |
---|---|---|
@@ -1,27 +1,69 @@ | ||
# See for more potential targets to ignore: | ||
# https://github.com/github/gitignore/blob/master/Python.gitignore | ||
|
||
# Python | ||
# Python files | ||
__pycache__/ | ||
*.py[cod] | ||
**__pycache__/ | ||
build/ | ||
dist/ | ||
*.egg-info/ | ||
*$py.class | ||
*.so | ||
__pypackages__/ | ||
|
||
# Editors | ||
.idea/ | ||
.vim/ | ||
# Distribution / packaging | ||
.pypirc | ||
.Python | ||
/build/ | ||
/develop-eggs/ | ||
/dist/ | ||
/downloads/ | ||
/eggs/ | ||
/.eggs/ | ||
/lib/ | ||
/lib64/ | ||
/parts/ | ||
/sdist/ | ||
/var/ | ||
/wheels/ | ||
/share/python-wheels/ | ||
/.installed.cfg | ||
*.egg-info/ | ||
*.egg | ||
/*.egg-info/ | ||
/MANIFEST | ||
|
||
# Tools | ||
# Testing | ||
htmlcov/ | ||
.tox/ | ||
.nox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
docs/build | ||
.tox/ | ||
*.cover | ||
*.py,cover | ||
cover/ | ||
.pytest_cache/ | ||
|
||
# Documentation | ||
/docs/build/ | ||
|
||
# Environments | ||
.env | ||
.venv | ||
env/ | ||
venv/ | ||
env.bak/ | ||
venv.bak/ | ||
/.env/ | ||
/.venv/ | ||
/env/ | ||
/venv/ | ||
/ENV/ | ||
/env.bak/ | ||
/venv.bak/ | ||
|
||
# Type checkers | ||
.mypy_cache/ | ||
.dmypy.json | ||
dmypy.json | ||
.pyre/ | ||
.pytype/ | ||
|
||
# Editors | ||
.idea/ | ||
.vim/ | ||
.vscode/ |
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,18 @@ | ||
version: 2 | ||
|
||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.11" | ||
jobs: | ||
post_install: | ||
- pip install -r requirements/docs | ||
- pip install . | ||
|
||
sphinx: | ||
builder: html | ||
configuration: docs/src/conf.py | ||
fail_on_warning: false | ||
|
||
formats: | ||
- htmlzip |
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 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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
include readme.rst | ||
include package/VERSION | ||
include readme.rst tox.ini | ||
global-exclude *.py[cod] __pycache__ *.so |
This file was deleted.
Oops, something went wrong.
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 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 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,52 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.0", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "package" | ||
description = "Python package template." | ||
readme = "readme.rst" | ||
license = {file = "LICENSE"} | ||
dynamic = ["version"] | ||
|
||
requires-python = ">=3.9" | ||
dependencies = [] | ||
|
||
keywords = [] | ||
authors = [{name = "Felix Hildén", email = "[email protected]"}] | ||
maintainers = [{name = "Felix Hildén", email = "[email protected]"}] | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3 :: Only", | ||
] | ||
|
||
[project.urls] | ||
homepage = "https://github.com/felix-hilden/python-package" | ||
download = "https://github.com/felix-hilden/python-package" | ||
source = "https://github.com/felix-hilden/python-package" | ||
issues = "https://github.com/felix-hilden/python-package/issues" | ||
documentation = "https://github.com/felix-hilden/python-package" | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "package.__version__"} | ||
|
||
[tool.pytest.ini_options] | ||
python_files = "*.py" | ||
testpaths = ["tests"] | ||
|
||
[tool.coverage.run] | ||
source = ["src"] | ||
branch = true | ||
command_line = "-m pytest" | ||
|
||
[tool.coverage.report] | ||
precision = 1 | ||
show_missing = true | ||
skip_covered = true | ||
|
||
[tool.ruff.lint] | ||
ignore = ["D107", "D203", "D212", "D413"] | ||
|
||
[tool.ruff.format] | ||
skip-magic-trailing-comma = true |
Oops, something went wrong.