diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml deleted file mode 100644 index 279ef85..0000000 --- a/.github/workflows/test_and_deploy.yml +++ /dev/null @@ -1,61 +0,0 @@ -name: tests - -on: - push: - branches: - - '*' - tags: - - '*' - pull_request: - -jobs: - linting: - runs-on: ubuntu-latest - steps: - - uses: neuroinformatics-unit/actions/lint@v2 - - manifest: - name: Check Manifest - runs-on: ubuntu-latest - steps: - - uses: neuroinformatics-unit/actions/check_manifest@v2 - - test: - needs: [linting, manifest] - name: ${{ matrix.os }} py${{ matrix.python-version }} - runs-on: ${{ matrix.os }} - strategy: - matrix: - # Run all supported Python versions on linux - python-version: ["3.9", "3.10", "3.11"] - os: [ubuntu-latest] - # Include one windows and macos run - include: - - os: macos-latest - python-version: "3.10" - - os: windows-latest - python-version: "3.10" - - steps: - # Run tests - - uses: neuroinformatics-unit/actions/test@v2 - with: - python-version: ${{ matrix.python-version }} - - build_sdist_wheels: - name: Build source distribution - needs: [test] - if: github.event_name == 'push' && github.ref_type == 'tag' - runs-on: ubuntu-latest - steps: - - uses: neuroinformatics-unit/actions/build_sdist_wheels@v2 - - - upload_all: - name: Publish build distributions - needs: [build_sdist_wheels] - runs-on: ubuntu-latest - steps: - - uses: neuroinformatics-unit/actions/upload_pypi@v2 - with: - secret-pypi-key: ${{ secrets.TWINE_API_KEY }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index 135fd12..0000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,45 +0,0 @@ - - -# Configuring https://pre-commit.ci/ -ci: - autoupdate_schedule: monthly - -repos: - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 - hooks: - - id: check-docstring-first - - id: check-executables-have-shebangs - - id: check-merge-conflict - - id: check-toml - - id: end-of-file-fixer - - id: mixed-line-ending - args: [--fix=lf] - - id: requirements-txt-fixer - - id: trailing-whitespace - - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.1 - hooks: - - id: ruff - args: [ --config=pyproject.toml ] - - id: ruff-format - args: [ --config=pyproject.toml ] - - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.13.0 - hooks: - - id: mypy - additional_dependencies: - - types-setuptools - - repo: https://github.com/mgedmin/check-manifest - rev: "0.50" - hooks: - - id: check-manifest - args: [--no-build-isolation] - additional_dependencies: [setuptools-scm, wheel] - - repo: https://github.com/codespell-project/codespell - # Configuration for codespell is in pyproject.toml - rev: v2.3.0 - hooks: - - id: codespell - additional_dependencies: - - tomli diff --git a/configs/pipeline.yaml b/configs/pipeline.yaml index ab5fdec..5df65b0 100644 --- a/configs/pipeline.yaml +++ b/configs/pipeline.yaml @@ -1 +1 @@ -train_models: true +train_models: true \ No newline at end of file