Skip to content

Commit

Permalink
Merge pull request #79 from chrishavlin/switch_to_precommit
Browse files Browse the repository at this point in the history
Switch to precommit, add gh release action
  • Loading branch information
chrishavlin committed Aug 23, 2023
2 parents 456f0d9 + 9c2b304 commit 49196d4
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 80 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ assignees: ''
Please provide a brief overview of what the bug is.

**Reproduction**
If using `yt-napari` from a notebook, please provide the code you run when encountering the bug.
If using `yt-napari` from a notebook, please provide the code you run when encountering the bug.

```python
code to reproduce
code to reproduce
...
...
```
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/create_gh_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

name: Create Release

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
draft: true
tag: ${{ github.ref }}
prerelease: false
name: Release ${{ github.ref }}
73 changes: 0 additions & 73 deletions .github/workflows/style_checks.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
ci:
autofix_prs: false
autoupdate_schedule: weekly

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
Expand Down
4 changes: 0 additions & 4 deletions lint_requirements.txt

This file was deleted.

1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# -*- coding: utf-8 -*-
from setuptools import setup


# https://github.com/pypa/setuptools_scm
use_scm = {"write_to": "src/yt_napari/_version.py"}
setup(use_scm_version=use_scm)

0 comments on commit 49196d4

Please sign in to comment.