Skip to content

Commit 0cfaaed

Browse files
committed
initial commit
0 parents  commit 0cfaaed

16 files changed

+9257
-0
lines changed

.github/CODEOWNERS

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# ref <https://docs.github.com/ja/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners>
2+
3+
* @kkml4220

.github/PULL_REQUEST_TEMPLATE.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## 概要
2+
3+
<!-- issueがあれば以下に記載する -->
4+
<!-- close #xxx -->
5+
6+
## 変更内容
7+
8+
<!-- - このプルリクで何をしたのか? -->
9+
10+
## 実装スクリーンショット
11+
12+
<!-- 画面で見せれるものであれば必ずスクリーンショットを添付する -->
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Auto Assign Author
2+
3+
on:
4+
pull_request:
5+
types: [opened]
6+
7+
jobs:
8+
assign:
9+
if: github.actor != 'dependabot[bot]'
10+
11+
name: Assign author to PR
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Assign author to PR
15+
uses: technote-space/assign-author@v1

.github/workflows/test.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches:
6+
- "**"
7+
8+
jobs:
9+
Test:
10+
name: Test
11+
# runs-on: [self-hosted, ubuntu]
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 30
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Set up Python
17+
# This is the version of the action for setting up Python, not the Python version.
18+
uses: actions/setup-python@v4
19+
with:
20+
# Semantic version range syntax or exact version of a Python version
21+
python-version: "3.11.6"
22+
# Optional - x64 or x86 architecture, defaults to x64
23+
architecture: "x64"
24+
# You can test your matrix by printing the current Python version
25+
- name: Display Python version
26+
run: python -c "import sys; print(sys.version)"
27+
- name: Install poetry
28+
run: pip install poetry
29+
- name: Install dependencies
30+
run: poetry install --no-root
31+
- name: Run format
32+
run: poetry run task format
33+
- name: Run lint
34+
run: poetry run task lint
35+
- name: Run tests
36+
run: poetry run task test

.gitignore

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Distribution / packaging
2+
.Python
3+
env/
4+
build/
5+
develop-eggs/
6+
dist/
7+
downloads/
8+
eggs/
9+
.eggs/
10+
lib/
11+
lib64/
12+
parts/
13+
sdist/
14+
var/
15+
*.egg-info/
16+
.installed.cfg
17+
*.egg
18+
19+
# Serverless directories
20+
.serverless
21+
poetry.lock
22+
23+
.env
24+
node_modules/

.node-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20.9.0

.python-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.11.6

.slsignore

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# docs
2+
docs/
3+
README.md
4+
5+
# tests
6+
tests/
7+
__tests__/*
8+
.venv/
9+
10+
# config
11+
.vscode/
12+
poetry.lock
13+
pyproject.toml
14+
dokcer-compose.yml
15+
poetry.lock
16+
package.json
17+
package-lock.json
18+
19+
# git
20+
.git/
21+
.gitignore
22+
23+
# serverless
24+
.serverless/
25+
node_modules/
26+
27+
# terraform
28+
terraform/

.vscode/extensions.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"recommendations": [
3+
"ms-python.python",
4+
"njpwerner.autodocstring",
5+
"KevinRose.vsc-python-indent",
6+
"donjayamanne.python-extension-pack",
7+
"wayou.vscode-todo-highlight",
8+
"ms-python.mypy-type-checker"
9+
]
10+
}

.vscode/settings.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"files.trimTrailingWhitespace": true,
3+
"files.insertFinalNewline": true,
4+
"editor.codeActionsOnSave": {
5+
"source.fixAll": "explicit"
6+
},
7+
"[python]": {
8+
"editor.defaultFormatter": "ms-python.black-formatter",
9+
"editor.insertSpaces": true,
10+
"editor.detectIndentation": true,
11+
"editor.tabSize": 4
12+
},
13+
"black-formatter.args": ["--line-length=120"],
14+
"python.analysis.extraPaths": ["./src/v1"]
15+
}

0 commit comments

Comments
 (0)