-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* git ignore 파일 설정 * git ignore 파일 설정 * git ignore 파일 설정 * 프로젝트 생성 * pr 템플릿 설정 * pre-commit 설정 * 기본적인 모듈 생성 및 의존성 추가 * 기본적인 모듈 생성 및 의존성 추가 * pylint 일괄 적용 * python 버전 3.12.3으로 수정 * uvicorn 추가 * logger 적용
- Loading branch information
Showing
26 changed files
with
1,964 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[flake8] | ||
ignore = E251, E402, E501, E203, E231, W503, F401, E731, E241, E266 |
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,4 @@ | ||
## 해결하려는 문제가 무엇인가요? | ||
closed: # | ||
|
||
## 어떻게 해결했나요? |
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,99 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
wheels/ | ||
pip-wheel-metadata/ | ||
share/python-wheels/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
MANIFEST | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.nox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*.cover | ||
.hypothesis/ | ||
.pytest_cache/ | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
local_settings.py | ||
db.sqlite3 | ||
db.sqlite3-journal | ||
|
||
# Flask stuff: | ||
instance/ | ||
.webassets-cache | ||
|
||
# Scrapy stuff: | ||
.scrapy | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
||
# Jupyter Notebook | ||
.ipynb_checkpoints | ||
|
||
# PyCharm | ||
.idea/ | ||
*.iml | ||
|
||
# JupyterLab | ||
.jupyterlab-config | ||
|
||
# Pipenv & virtual environments | ||
.venv/ | ||
.pipenv | ||
# Include all virtualenvs you might be using | ||
venv/ | ||
ENV/ | ||
env/ | ||
|
||
# FastAPI | ||
# No specific files, but excluding standard Python files is often sufficient | ||
|
||
# Operating system files | ||
.DS_Store | ||
Thumbs.db |
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,38 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-yaml | ||
- id: check-json | ||
|
||
- repo: https://github.com/psf/black | ||
rev: 24.4.2 | ||
hooks: | ||
- id: black | ||
|
||
- repo: https://github.com/pycqa/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
|
||
- repo: https://github.com/pycqa/flake8 | ||
rev: 7.0.0 | ||
hooks: | ||
- id: flake8 | ||
|
||
- repo: https://github.com/pycqa/autoflake | ||
rev: v2.3.1 | ||
hooks: | ||
- id: autoflake | ||
args: [ --remove-all-unused-imports, --in-place ] | ||
|
||
- repo: https://github.com/pylint-dev/pylint | ||
rev: v3.2.2 | ||
hooks: | ||
- id: pylint | ||
additional_dependencies: | ||
- fastapi | ||
- sqlalchemy | ||
- loguru |
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,4 @@ | ||
[MASTER] | ||
init-hook='import sys;sys.path.extend(["$(pipenv --venv)/lib/python3.x/site-packages", "."])' | ||
[MESSAGES CONTROL] | ||
disable=C0114,C0115,C0116,R0903,E0401 |
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,24 @@ | ||
[[source]] | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[packages] | ||
fastapi = "*" | ||
uvicorn = "*" | ||
sqlalchemy = "*" | ||
aiofiles = "*" | ||
regex = "*" | ||
loguru = "*" | ||
|
||
[dev-packages] | ||
flake8 = "*" | ||
black = "*" | ||
pre-commit = "*" | ||
autoflake = "*" | ||
isort = "*" | ||
pylint = "*" | ||
|
||
[requires] | ||
python_version = "3.12" | ||
python_full_version = "3.12.3" |
Oops, something went wrong.