Skip to content

Commit

Permalink
chore: update copier template
Browse files Browse the repository at this point in the history
  • Loading branch information
vivienm committed Nov 26, 2023
1 parent 65e2541 commit e0fd4f6
Show file tree
Hide file tree
Showing 11 changed files with 72 additions and 369 deletions.
4 changes: 2 additions & 2 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changes here will be overwritten by Copier. NEVER EDIT MANUALLY.

_commit: 8c99043
_commit: 81e5d86
_src_path: gh:vivienm/copier-python-pdm
author_email: [email protected]
author_fullname: Vivien Maisonneuve
Expand All @@ -16,7 +16,7 @@ project_description: A Python library for estimating quantiles in a stream, usin
ClickHouse t-digest data structure.
project_name: tdigest-ch
project_type: lib
python_version: '>=3.8'
python_version: '3.8'
repository_hosted: true
repository_name: python-tdigest-ch
repository_namespace: vivienm
Expand Down
26 changes: 0 additions & 26 deletions .github/actions/nox/action.yml

This file was deleted.

48 changes: 48 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: "Continuous integration"

on:
push:
pull_request:

jobs:
ci:
runs-on: "ubuntu-latest"
steps:
- uses: "pdm-project/setup-pdm@main"
with:
python-version: "3.8"
- uses: "actions/checkout@v3"
- run: "pdm venv create 3.8"
- run: "pdm install"
- uses: "actions/upload-artifact@v3"
with:
name: "pdm-lockfile"
path: "./pdm.lock"
retention-days: 7
- run: "pdm run nox"
- uses: "actions/upload-artifact@v3"
with:
name: "sphinx"
path: "./docs/_build/html"
retention-days: 7

pages:
if: "github.ref == format('refs/heads/{0}', github.event.repository.default_branch)"
needs: "ci"
permissions:
pages: "write"
id-token: "write"
environment:
name: "github-pages"
url: "${{ steps.deployment.outputs.page_url }}"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/download-artifact@v3"
with:
name: "sphinx"
path: "${{ runner.temp }}/pages/docs"
- uses: "actions/upload-pages-artifact@v1"
with:
path: "${{ runner.temp }}/pages"
- id: "deployment"
uses: "actions/deploy-pages@v1"
136 changes: 0 additions & 136 deletions .github/workflows/continuous-integration.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
__pycache__/
/.benchmarks/
/.coverage
/.coverage.*
/.mypy_cache/
/.nox/
/.pdm-python
/.pytest_cache/
/.ruff_cache/
/.venv/
/build/
/coverage.json
/coverage.lcov
/coverage.xml
/dist/
/htmlcov/
/pdm.lock
/setup.py
/src/*.egg-info/
Expand Down
4 changes: 1 addition & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@

html_theme = "furo"

intersphinx_mapping = {
"https://docs.python.org/3": None,
}
intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
1 change: 0 additions & 1 deletion examples/threads.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from typing import NoReturn

from tdigest import TDigest as PyTDigest

from tdigest_ch import TDigest as RsTDigest

NUM_ELEMS = 50_000
Expand Down
Loading

0 comments on commit e0fd4f6

Please sign in to comment.