Skip to content

Commit

Permalink
git init
Browse files Browse the repository at this point in the history
- Add Template
- Add linting
  • Loading branch information
bkkhyunn committed Feb 29, 2024
1 parent 1ccb40f commit d853682
Show file tree
Hide file tree
Showing 5 changed files with 121 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Bug Report
about: 버그를 레포트 할 때 사용하는 템플릿
title: "[BUG] "
labels: ''
assignees: ''

---

## Describe the bug
-

## To Reproduce
-

## Expected Behavior
-

## Screenshots (Optional)
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Feature Request
about: 새로운 기능을 추가할 때 사용하는 템플릿
title: "[FEAT] "
labels: ''
assignees: ''

---

## Background
-

## To Do
- [ ]
12 changes: 12 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
## Overview
-

## Change Log
-

## To Reviewer
-

## Issue Tags
- closed: #
- sell also: # (optional)
24 changes: 24 additions & 0 deletions .gitmessage
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
################
# <타입> : <제목> 의 형식으로 제목을 아래 공백줄에 작성
# 제목은 50자 이내 / 변경사항이 "무엇"인지 명확히 작성 / 끝에 마침표 금지
# 예) feat : 로그인 기능 추가

# 바로 아래 공백은 지우지 마세요 (제목과 본문의 분리를 위함)

################
# 본문(구체적인 내용)을 아랫줄에 작성
# 여러 줄의 메시지를 작성할 땐 "-"로 구분 (한 줄은 72자 이내)

################
# 꼬릿말(footer)을 아랫줄에 작성 (현재 커밋과 관련된 이슈 번호 추가 등)
# 예) Close #7

################
# feat : 새로운 기능 추가
# fix : 버그 수정
# docs : 문서 수정
# test : 테스트 코드 추가
# refact : 코드 리팩토링
# style : 코드 의미에 영향을 주지 않는 변경사항
# chore : 빌드 부분 혹은 패키지 매니저 수정사항
################
52 changes: 52 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/pycqa/flake8
rev: 7.0.0
hooks:
- id: flake8
- repo: https://github.com/myint/autoflake
rev: v2.2.1
hooks:
- id: autoflake
args: ["--in-place", "--remove-all-unused-imports", "--remove-unused-variables", "--expand-star-imports", "--ignore-init-module-imports"]
files: \.py$
exclude: |
(?x)(
^.git/|
^output/|
^plugins
)
- repo: https://github.com/pycqa/isort
rev: '5.13.2'
hooks:
- id: isort
language: python
args: ["--filter-files"]
files: \.py$
- repo: https://github.com/psf/black
rev: '24.2.0'
hooks:
- id: black
args: ["--line-length=120"]
exclude: |
(?x)(
^.git/|
^output/|
^plugins|
^plugins|
)
exclude: |
(?x)(
^.git/|
^output/|
^plugins|
^plugins|
)

0 comments on commit d853682

Please sign in to comment.