-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #148 from lovit/feature/147
Feature/147
- Loading branch information
Showing
15 changed files
with
555 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
# Pull Request | ||
|
||
## Checklist | ||
|
||
- [ ] 해당 PR 관련 이슈가 작성되었나요? | ||
- [ ] 테스트 코드를 작성하였나요? | ||
- [ ] 기존에 작성된 테스트코드가 정상적으로 작동하나요? (`tests/test*.py`) | ||
|
||
## 1. 해당 PR은 어떤 내용인가요? | ||
|
||
<!-- 해당 PR이 어떠한 내용인지 상세하게 명시 부탁드립니다. --> | ||
|
||
## 2. PR과 관련된 이슈가 있나요? | ||
<!-- PR이 참고하고 있는 이슈가 있다면 이슈번호를 `#123` 형식으로 남겨주세요. 여러 개의 이슈가 포함되어도 됩니다.--> | ||
|
||
<!-- PR이 참고하고 있는 이슈가 있다면 이슈번호를 `#123` 형식으로 남겨주세요. 여러 개의 이슈가 포함되어도 됩니다.--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: pre-commit | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: [master, dev, feature/146] | ||
|
||
jobs: | ||
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v3 | ||
- uses: pre-commit/[email protected] | ||
pytest: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.12" | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install poetry==1.8.0 | ||
poetry install | ||
- name: Test with pytest | ||
run: | | ||
poetry run pytest |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
fail_fast: true | ||
minimum_pre_commit_version: "4.1.0" | ||
repos: | ||
- repo: https://github.com/RobertCraigie/pyright-python | ||
rev: v1.1.393 | ||
hooks: | ||
- id: pyright | ||
entry: pyright | ||
additional_dependencies: [] | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.9.4 | ||
hooks: | ||
- id: ruff | ||
name: Run ruff | ||
args: [--fix, --exit-non-zero-on-fix] | ||
- repo: https://github.com/psf/black | ||
rev: 25.1.0 | ||
hooks: | ||
- id: black | ||
name: Run black | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: v3.1.0 | ||
hooks: | ||
- id: prettier | ||
name: Run preittier | ||
language_version: 16.20.2 | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v5.0.0 | ||
hooks: | ||
- id: check-json | ||
- id: check-toml | ||
- id: check-yaml | ||
args: [--allow-multiple-documents] | ||
- id: debug-statements | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- id: mixed-line-ending |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# soynlp | ||
|
||
Renewing ... | ||
Renewing ... | ||
|
||
## Install | ||
|
||
``` | ||
pipx install poetry==1.8.0 | ||
poetry install | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.