Skip to content

Commit

Permalink
Merge pull request #17 from GAIR-NLP/add-github-action
Browse files Browse the repository at this point in the history
Add GitHub action
  • Loading branch information
pfliu-nlp committed Aug 3, 2023
2 parents c4604e7 + 50a97c9 commit 6f0ad2b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
repos:
- repo: https://github.com/python/black.git
rev: 22.3.0
hooks:
- id: black
files: '\.py$'
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
name: flake8
additional_dependencies:
- flake8-absolute-import
- flake8-black>=0.1.1
entry: flake8
files: '\.py$'
- repo: https://github.com/pycqa/isort.git
rev: 5.12.0
hooks:
- id: isort
files: '\.py$'
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.1"
__version__ = "0.1.2"

0 comments on commit 6f0ad2b

Please sign in to comment.