Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions .github/ISSUE_TEMPLATE/sweep.yml

This file was deleted.

50 changes: 0 additions & 50 deletions .github/workflows/pr_opened.yml

This file was deleted.

29 changes: 3 additions & 26 deletions .github/workflows/pr_precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- main
pull_request_target:
pull_request:
branches:
- main

Expand All @@ -30,36 +30,13 @@ jobs:
run: echo '${{ steps.changed-files.outputs.all_changed_files }}'

# only check the full repository if PR and correctly labelled
- if: ${{ github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'full pre-commit') }}
- if: ${{ github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'full pre-commit') }}
name: Full pre-commit
uses: pre-commit/[email protected]
with:
extra_args: --all-files
- if: ${{ github.event_name != 'pull_request_target' || !contains(github.event.pull_request.labels.*.name, 'full pre-commit') }}
- if: ${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'full pre-commit') }}
name: Local pre-commit
uses: pre-commit/[email protected]
with:
extra_args: --files ${{ steps.changed-files.outputs.all_changed_files }}

# push fixes if pre-commit fails and PR is eligible
- if: ${{ failure() && github.event_name == 'pull_request_target' && !github.event.pull_request.draft && !contains(github.event.pull_request.labels.*.name, 'stop pre-commit fixes')}}
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.PR_APP_ID }}
private-key: ${{ secrets.PR_APP_KEY }}

- if: ${{ failure() && github.event_name == 'pull_request_target' && !github.event.pull_request.draft && !contains(github.event.pull_request.labels.*.name, 'stop pre-commit fixes') }}
name: Checkout
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.head_ref }}
token: ${{ steps.app-token.outputs.token }}

- if: ${{ failure() && github.event_name == 'pull_request_target' && !github.event.pull_request.draft && !contains(github.event.pull_request.labels.*.name, 'stop pre-commit fixes')}}
name: Push pre-commit fixes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Automatic `pre-commit` fixes
commit_user_name: tsml-actions-bot[bot]
Empty file removed .github/workflows/pre_commit.yml
Empty file.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[![github-actions-release](https://img.shields.io/github/actions/workflow/status/time-series-machine-learning/tsml-py/release.yml?logo=github&label=build%20%28release%29)](https://github.com/time-series-machine-learning/tsml-py/actions/workflows/release.yml)
[![github-actions-main](https://img.shields.io/github/actions/workflow/status/time-series-machine-learning/tsml-py/periodic_tests.yml?logo=github&branch=main&label=build%20%28main%29)](https://github.com/time-series-machine-learning/tsml-py/actions/workflows/periodic_tests.yml)
[![codecov](https://img.shields.io/codecov/c/github/time-series-machine-learning/tsml-py?label=codecov&logo=codecov)](https://codecov.io/gh/time-series-machine-learning/tsml-py)
[![pypi](https://img.shields.io/pypi/v/tsml?logo=pypi&color=blue)](https://pypi.org/project/tsml/)
[![!conda](https://img.shields.io/conda/vn/conda-forge/tsml?logo=anaconda&color=blue)](https://anaconda.org/conda-forge/tsml)
[![python-versions](https://img.shields.io/pypi/pyversions/tsml?logo=python)](https://www.python.org/)
Expand All @@ -9,10 +8,10 @@

# tsml-py

A toolkit for time series machine learning algorithms.
A toolkit for in-development time series machine learning algorithms.

Please see [`tsml_eval`](https://github.com/time-series-machine-learning/tsml-eval) and
[`aeon`](https://github.com/aeon-toolkit/aeon) for more developed packages. This package
[`aeon`](https://github.com/aeon-toolkit/aeon) for more developed and stable packages. This package
is more of a sandbox for testing out new ideas and algorithms. It may contain some
algorithms and implementations that are not available in the other toolkits.

Expand All @@ -28,4 +27,5 @@ pip install tsml

## Acknowledgements

This work is supported by the UK Engineering and Physical Sciences Research Council (EPSRC) EP/W030756/1
This work is supported by the UK Engineering and Physical Sciences Research Council
(EPSRC) EP/W030756/1
82 changes: 0 additions & 82 deletions build_tools/pr_labeler.py

This file was deleted.

106 changes: 0 additions & 106 deletions build_tools/pr_open_commenter.py

This file was deleted.

Loading
Loading