Skip to content

Commit 1093740

Browse files
authored
Merge pull request #43 from pers0n4/hotfix/formatter-configuration
formatter 옵션 설정
2 parents 415a04e + 4be792f commit 1093740

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

.github/workflows/deploy_on_dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v2
1818
- uses: psf/black@stable
1919
with:
20-
options: "--check --verbose --exclude migrations"
20+
options: "--check --verbose"
2121

2222
- name: Set up Python ${{ matrix.python-version }}
2323
uses: actions/setup-python@v2

.github/workflows/deploy_on_prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v2
1717
- uses: psf/black@stable
1818
with:
19-
options: "--check --verbose --exclude migrations"
19+
options: "--check --verbose"
2020

2121
- name: Set up Python ${{ matrix.python-version }}
2222
uses: actions/setup-python@v2

.github/workflows/pull-request-merge-precondition.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222

2323
- uses: psf/black@stable
2424
with:
25-
options: "--check --verbose --exclude migrations"
25+
options: "--check --verbose"
2626

2727
- uses: isort/isort-action@master
2828
with:
29-
configuration: "--check-only --diff --profile black"
29+
configuration: "--check-only --diff"
3030
requirementsFiles: "requirements.txt"
3131

3232
- name: install dependencies

pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[tool.black]
2+
line-length = 88
3+
include = '\.pyi?$'
4+
extend-exclude = '''
5+
(
6+
migrations
7+
)
8+
'''
9+
10+
[tool.isort]
11+
extend_skip = ["migrations"]
12+
profile = "black"

0 commit comments

Comments
 (0)