Skip to content

Commit

Permalink
Upgrade to bswck/skeleton@0.0.2rc-125-ga2febcf
Browse files Browse the repository at this point in the history
  • Loading branch information
bswck committed Feb 20, 2024
1 parent 3fb3f88 commit 6c17a06
Show file tree
Hide file tree
Showing 30 changed files with 687 additions and 112 deletions.
5 changes: 3 additions & 2 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
_commit: 0.0.2rc-125-ga2febcf
_commit: 0.0.2rc-149-gaad3c42
_src_path: gh:bswck/skeleton
author: bswck
cli: false
Expand All @@ -12,9 +12,10 @@ package: runtime_generics
precommit: true
pypi: true
pypi_description: Reuse generic class type arguments at runtime.
pypi_project_name: runtime-generics
pypi_project: runtime-generics
pypy: true
python: '3.8'
python_max: '4.0'
repo: runtime_generics
rtd: runtime-generics
tests: true
Expand Down
4 changes: 2 additions & 2 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was generated from bswck/skeleton@0.0.2rc-125-ga2febcf.
# This file was generated from bswck/skeleton@0.0.2rc-149-gaad3c42.
# Instead of changing this particular file, you might want to alter the template:
# https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf/project/.github/%23%25%20if%20author%20%3D%3D%20%22bswck%22%20%25%23FUNDING.yml%23%25%20endif%20%25%23.jinja
# https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42/project/.github/%23%25%20if%20author%20%3D%3D%20%22bswck%22%20%25%23FUNDING.yml%23%25%20endif%20%25%23.jinja

github: "bswck"
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file was generated from bswck/skeleton@0.0.2rc-125-ga2febcf.
# This file was generated from bswck/skeleton@0.0.2rc-149-gaad3c42.
# Instead of changing this particular file, you might want to alter the template:
# https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf/project/.github/ISSUE_TEMPLATE/bug.yml.jinja
# https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42/project/.github/ISSUE_TEMPLATE/bug.yml.jinja

# docs https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was generated from bswck/skeleton@0.0.2rc-125-ga2febcf.
# This file was generated from bswck/skeleton@0.0.2rc-149-gaad3c42.
# Instead of changing this particular file, you might want to alter the template:
# https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf/project/.github/ISSUE_TEMPLATE/config.yml.jinja
# https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42/project/.github/ISSUE_TEMPLATE/config.yml.jinja

blank_issues_enabled: true
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/functionality.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file was generated from bswck/skeleton@0.0.2rc-125-ga2febcf.
# This file was generated from bswck/skeleton@0.0.2rc-149-gaad3c42.
# Instead of changing this particular file, you might want to alter the template:
# https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf/project/.github/ISSUE_TEMPLATE/functionality.yml.jinja
# https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42/project/.github/ISSUE_TEMPLATE/functionality.yml.jinja

# docs https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
Expand Down
17 changes: 15 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file was generated from bswck/skeleton@0.0.2rc-125-ga2febcf.
# This file was generated from bswck/skeleton@0.0.2rc-149-gaad3c42.
# Instead of changing this particular file, you might want to alter the template:
# https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf/project/.github/dependabot.yml.jinja
# https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42/project/.github/dependabot.yml.jinja

version: 2
updates:
Expand All @@ -26,3 +26,16 @@ updates:
directory: "/"
schedule:
interval: "daily"
ignore:
# Dependencies managed by https://github.com/bswck/skeleton
- dependency-name: "mypy"
- dependency-name: "ruff"
- dependency-name: "towncrier"
- dependency-name: "coverage"
- dependency-name: "pytest"
- dependency-name: "pytest-doctestplus"
- dependency-name: "covdefaults"
- dependency-name: "poethepoet"
- dependency-name: "pre-commit"
- dependency-name: "smokeshow"
- dependency-name: "keyring"
4 changes: 2 additions & 2 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file was generated from bswck/skeleton@0.0.2rc-125-ga2febcf.
# This file was generated from bswck/skeleton@0.0.2rc-149-gaad3c42.
# Instead of changing this particular file, you might want to alter the template:
# https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf/project/.github/workflows/audit.yml.jinja
# https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42/project/.github/workflows/audit.yml.jinja

# IMPORTANT!
# Pinned versions of actions and Poetry are managed in a different repository.
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# This file was generated from bswck/skeleton@0.0.2rc-125-ga2febcf.
# This file was generated from bswck/skeleton@0.0.2rc-149-gaad3c42.
# Instead of changing this particular file, you might want to alter the template:
# https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf/project/.github/workflows/%23%25%20if%20tests%20and%20public%20%25%23coverage.yml%23%25%20endif%20%25%23.jinja
# https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42/project/.github/workflows/%23%25%20if%20tests%20and%20public%20%25%23coverage.yml%23%25%20endif%20%25%23.jinja

# IMPORTANT!
# Pinned versions of actions and Poetry are managed in a different repository.
# Do not submit PRs to this file unless for this repo specifically.
# To change this workflow globally, submit a PR to https://github.com/bswck/skeleton.

name: "Upload Coverage"
name: "Coverage"

on:
workflow_run:
Expand Down Expand Up @@ -35,7 +35,10 @@ jobs:
- run: "gh run download ${{github.event.workflow_run.id}} --dir .covfiles/"
env:
GH_TOKEN: "${{github.token}}"
- run: "poetry run coverage combine --append .covfiles/*"
- name: "Combine coverage data files from multicontextual runs"
run: "poetry run coverage combine --append .covfiles/*"
- name: "Show coverage report"
run: "poetry run coverage report --show-missing --fail-under=0"
- name: "Upload coverage data file"
uses: "actions/upload-artifact@v4"
with:
Expand Down Expand Up @@ -63,15 +66,15 @@ jobs:
needs: "combine"
if: "${{github.event.workflow_run.pull_requests[0]}}"
runs-on: "ubuntu-latest"
environment: "Upload Coverage"
environment: "Coverage"
steps:
- uses: "actions/checkout@v4"
- uses: "actions/download-artifact@v4"
with:
name: "coverage-xml"
merge-multiple: true
- name: "Upload coverage reports to Codecov"
uses: "codecov/codecov-action@v3"
uses: "codecov/codecov-action@v4"
with:
files: "coverage.xml"
env:
Expand All @@ -81,7 +84,7 @@ jobs:
needs: "combine"
if: "${{github.event.workflow_run.head_branch == 'main'}}"
runs-on: "ubuntu-latest"
environment: "Upload Coverage"
environment: "Coverage"
steps:
- uses: "actions/checkout@v4"
- name: "Install Poetry"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/doclinks.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file was generated from bswck/skeleton@0.0.2rc-125-ga2febcf.
# This file was generated from bswck/skeleton@0.0.2rc-149-gaad3c42.
# Instead of changing this particular file, you might want to alter the template:
# https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf/project/.github/workflows/%23%25%20if%20docs%20%25%23doclinks.yml%23%25%20endif%20%25%23.jinja
# https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42/project/.github/workflows/%23%25%20if%20docs%20%25%23doclinks.yml%23%25%20endif%20%25%23.jinja

# IMPORTANT!
# Pinned versions of actions and Poetry are managed in a different repository.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file was generated from bswck/skeleton@0.0.2rc-125-ga2febcf.
# This file was generated from bswck/skeleton@0.0.2rc-149-gaad3c42.
# Instead of changing this particular file, you might want to alter the template:
# https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf/project/.github/workflows/lint.yml.jinja
# https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42/project/.github/workflows/lint.yml.jinja

# IMPORTANT!
# Pinned versions of actions and Poetry are managed in a different repository.
Expand All @@ -25,4 +25,4 @@ jobs:
- name: "Install the project"
run: "poetry install --only=dev,dev-skeleton"
- name: "Analyze the code with Ruff"
run: "ruff check ."
run: "poetry run ruff check ."
4 changes: 2 additions & 2 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file was generated from bswck/skeleton@0.0.2rc-125-ga2febcf.
# This file was generated from bswck/skeleton@0.0.2rc-149-gaad3c42.
# Instead of changing this particular file, you might want to alter the template:
# https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf/project/.github/workflows/mypy.yml.jinja
# https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42/project/.github/workflows/mypy.yml.jinja

# IMPORTANT!
# Pinned versions of actions and Poetry are managed in a different repository.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/news.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file was generated from bswck/skeleton@0.0.2rc-125-ga2febcf.
# This file was generated from bswck/skeleton@0.0.2rc-149-gaad3c42.
# Instead of changing this particular file, you might want to alter the template:
# https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf/project/.github/workflows/news.yml.jinja
# https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42/project/.github/workflows/news.yml.jinja

# IMPORTANT!
# Pinned versions of actions and Poetry are managed in a different repository.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file was generated from bswck/skeleton@0.0.2rc-125-ga2febcf.
# This file was generated from bswck/skeleton@0.0.2rc-149-gaad3c42.
# Instead of changing this particular file, you might want to alter the template:
# https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf/project/.github/workflows/%23%25%20if%20pypi%20%25%23release.yml%23%25%20endif%20%25%23.jinja
# https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42/project/.github/workflows/%23%25%20if%20pypi%20%25%23release.yml%23%25%20endif%20%25%23.jinja

# IMPORTANT!
# Pinned versions of actions and Poetry are managed in a different repository.
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file was generated from bswck/skeleton@0.0.2rc-125-ga2febcf.
# This file was generated from bswck/skeleton@0.0.2rc-149-gaad3c42.
# Instead of changing this particular file, you might want to alter the template:
# https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf/project/.github/workflows/%23%25%20if%20tests%20%25%23test.yml%23%25%20endif%20%25%23.jinja
# https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42/project/.github/workflows/%23%25%20if%20tests%20%25%23test.yml%23%25%20endif%20%25%23.jinja

# IMPORTANT!
# Pinned versions of actions and Poetry are managed in a different repository.
Expand Down Expand Up @@ -42,11 +42,11 @@ jobs:
--context=${{env.context}}
-m pytest --doctest-only -v .
- name: "Show coverage report"
run: "poetry run coverage report --show-missing"
run: "poetry run coverage report --show-missing --fail-under=0"
- run: "mv .coverage .coverage.${{env.context}}"
- name: "Upload coverage data file artifact"
uses: "actions/upload-artifact@v4"
with:
name: "coverage-${{env.context}}"
path: ".coverage.${{env.context}}"
overwrite: true
overwrite: true
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file was generated from bswck/skeleton@0.0.2rc-125-ga2febcf.
# This file was generated from bswck/skeleton@0.0.2rc-149-gaad3c42.
# Instead of changing this particular file, you might want to alter the template:
# https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf/project/.gitignore.jinja
# https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42/project/.gitignore.jinja

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# This file was generated from bswck/skeleton@0.0.2rc-125-ga2febcf.
# This file was generated from bswck/skeleton@0.0.2rc-149-gaad3c42.
# Instead of changing this particular file, you might want to alter the template:
# https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf/project/%23%25%20if%20precommit%20%25%23.pre-commit-config.yaml%23%25%20endif%20%25%23.jinja
# https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42/project/%23%25%20if%20precommit%20%25%23.pre-commit-config.yaml%23%25%20endif%20%25%23.jinja

default_install_hook_types:
- "pre-commit"
- "pre-push"

repos:
- repo: "https://github.com/astral-sh/ruff-pre-commit"
rev: "v0.1.15"
rev: "v0.2.2"
hooks:
- id: "ruff"
name: "Run the Ruff linter"
Expand Down
6 changes: 3 additions & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# This file was generated from bswck/skeleton@0.0.2rc-125-ga2febcf.
# This file was generated from bswck/skeleton@0.0.2rc-149-gaad3c42.
# Instead of changing this particular file, you might want to alter the template:
# https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf/project/%23%25%20if%20docs%20%25%23.readthedocs.yml%23%25%20endif%20%25%23.jinja
# https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42/project/%23%25%20if%20docs%20%25%23.readthedocs.yml%23%25%20endif%20%25%23.jinja
#
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
mkdocs:
configuration: "mkdocs.yml"
build:
os: "ubuntu-22.04"
os: "ubuntu-lts-latest"
tools:
python: "3.8"
jobs:
Expand Down
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
This file was generated from bswck/skeleton@0.0.2rc-125-ga2febcf.
This file was generated from bswck/skeleton@0.0.2rc-149-gaad3c42.
Instead of changing this particular file, you might want to alter the template:
https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf/fragments/contributing.md
https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42/fragments/contributing.md
-->
# Contributing to [runtime_generics](https://github.com/bswck/runtime_generics) 🎉
Contributions are very welcome. 🚀
Expand Down Expand Up @@ -46,9 +46,9 @@ Ready to contribute? Here's a quick guide on how to set up runtime_generics and


<!--
This section was generated from bswck/skeleton@0.0.2rc-125-ga2febcf.
This section was generated from bswck/skeleton@0.0.2rc-149-gaad3c42.
Instead of changing this particular file, you might want to alter the template:
https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf/fragments/guide.md
https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42/fragments/guide.md
-->
> [!Note]
> If you use Windows, it is highly recommended to complete the installation in the way presented below through [WSL2](https://learn.microsoft.com/en-us/windows/wsl/install).
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# runtime_generics [![skeleton](https://img.shields.io/badge/0.0.2rc–125–ga2febcf-skeleton?label=%F0%9F%92%80%20bswck/skeleton&labelColor=black&color=grey&link=https%3A//github.com/bswck/skeleton)](https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf) [![Supported Python versions](https://img.shields.io/pypi/pyversions/runtime-generics.svg?logo=python&label=Python)](https://pypi.org/project/runtime-generics/) [![Package version](https://img.shields.io/pypi/v/runtime-generics?label=PyPI)](https://pypi.org/project/runtime-generics/)
# runtime_generics [![skeleton](https://img.shields.io/badge/0.0.2rc–149–gaad3c42-skeleton?label=%F0%9F%92%80%20bswck/skeleton&labelColor=black&color=grey&link=https%3A//github.com/bswck/skeleton)](https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42) [![Supported Python versions](https://img.shields.io/pypi/pyversions/runtime-generics.svg?logo=python&label=Python)](https://pypi.org/project/runtime-generics/) [![Package version](https://img.shields.io/pypi/v/runtime-generics?label=PyPI)](https://pypi.org/project/runtime-generics/)

[![Tests](https://github.com/bswck/runtime_generics/actions/workflows/test.yml/badge.svg)](https://github.com/bswck/runtime_generics/actions/workflows/test.yml)
[![Coverage](https://coverage-badge.samuelcolvin.workers.dev/bswck/runtime_generics.svg)](https://coverage-badge.samuelcolvin.workers.dev/redirect/bswck/runtime_generics)
Expand Down Expand Up @@ -81,9 +81,9 @@ poetry add runtime-generics
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![Pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
<!--
This section was generated from bswck/skeleton@0.0.2rc-125-ga2febcf.
This section was generated from bswck/skeleton@0.0.2rc-149-gaad3c42.
Instead of changing this particular file, you might want to alter the template:
https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf/project/README.md.jinja
https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42/project/README.md.jinja
-->
> [!Note]
> If you use Windows, it is highly recommended to complete the installation in the way presented below through [WSL2](https://learn.microsoft.com/en-us/windows/wsl/install).
Expand Down
8 changes: 4 additions & 4 deletions docs/contributing.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

<!--
This file was generated from bswck/skeleton@0.0.2rc-125-ga2febcf.
This file was generated from bswck/skeleton@0.0.2rc-149-gaad3c42.
Instead of changing this particular file, you might want to alter the template:
https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf/project/%23%25%20if%20docs%20%25%23docs%23%25%20endif%20%25%23/contributing.md.jinja
https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42/project/%23%25%20if%20docs%20%25%23docs%23%25%20endif%20%25%23/contributing.md.jinja
-->
# Contributing to [runtime_generics](https://github.com/bswck/runtime_generics) 🎉
Contributions are very welcome. 🚀
Expand Down Expand Up @@ -47,9 +47,9 @@ Ready to contribute? Here's a quick guide on how to set up runtime_generics and


<!--
This section was generated from bswck/skeleton@0.0.2rc-125-ga2febcf.
This section was generated from bswck/skeleton@0.0.2rc-149-gaad3c42.
Instead of changing this particular file, you might want to alter the template:
https://github.com/bswck/skeleton/tree/0.0.2rc-125-ga2febcf/project/%23%25%20if%20docs%20%25%23docs%23%25%20endif%20%25%23/contributing.md.jinja
https://github.com/bswck/skeleton/tree/0.0.2rc-149-gaad3c42/project/%23%25%20if%20docs%20%25%23docs%23%25%20endif%20%25%23/contributing.md.jinja
-->
!!! Note
If you use Windows, it is highly recommended to complete the installation in the way presented below through [WSL2](https://learn.microsoft.com/en-us/windows/wsl/install).
Expand Down
Loading

0 comments on commit 6c17a06

Please sign in to comment.