-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* hotfix: convert db port type to int (#40) * fix: dev db host name * Refactor: delete serverless resources (#42) * refactor: Remove serverless files * doc: Edit deploy and test description * feat: Add environment in workflow files * fix: gitignore * feat: initialize poetry (#44) * Use poetry instead of requirements.txt * Fix Dockerfile & Add .venv to ignore files * Fix PATH env in Dockerfile * Delete expose in Dockerfile * Update pyproject.toml * fix: pip root user action error (#45) * fix: remove --mount from Dockerfile (#46) * fix: Dockerfile syntax (#47) * feat: update README.md & restrict Python version to 3.10 (#48) * fix: use tilde requirements for python version * Update README.md * Update README.md * Configure black & pylint * Apply black * Fix python setup in gh workflow * Use poetry instead of pip in gh workflow * Fix python version in gh workflow * Fix pyproject.toml * Update Makefile * Fix: 자하연 메뉴 오류 (#51) * refactor: Remove wildcard import * fix: local db config * feat: Add split logic for jaha restaurant menus * fix: lint --------- Co-authored-by: Jaewan Park <[email protected]>
- Loading branch information
Showing
19 changed files
with
1,584 additions
and
295 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,35 @@ | ||
# Distribution / packaging | ||
.Python | ||
env/ | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
.env | ||
node_modules | ||
package.json | ||
package-lock.json | ||
|
||
# Serverless directories | ||
.serverless | ||
|
||
# mac | ||
.DS_Store | ||
venv | ||
.venv | ||
|
||
# JetBrains | ||
.idea | ||
|
||
# Python | ||
__pycache__/ |
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
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,23 @@ | ||
name: Lint | ||
|
||
on: [push] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
- name: install poetry | ||
run: pipx install poetry | ||
- name: use python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
cache: poetry | ||
- name: install black, pylint | ||
run: poetry install --only dev | ||
- name: check if code linted | ||
run: | | ||
poetry run black --check $(git ls-files '*.py') | ||
poetry run pylint --recursive=yes $(git ls-files '*.py') || true |
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
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,9 @@ | ||
.PHONY: default | ||
default: | ||
@echo "Specify the target" | ||
@exit 1 | ||
|
||
.PHONY: lint | ||
lint: | ||
black --check . | ||
pylint --recursive=yes . |
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
Oops, something went wrong.