Skip to content

Commit f76d30b

Browse files
authored
Merge pull request #1 from dmsnback/dev
дабавлены зависимости, создан actions
2 parents 6f4ad6b + ac95070 commit f76d30b

5 files changed

Lines changed: 115 additions & 1 deletion

File tree

.flake8

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[flake8]
2+
max-line-length = 79
3+
extend-ignore = E501, E203, W503, E712, W605
4+
exclude =
5+
backend/alembic/versions/*,
6+
backend/db/base.py,
7+
.git,
8+
__pycache__,
9+
.tox,
10+
.eggs,
11+
*.egg,
12+
.venv,
13+
venv,
14+
alembic/

.github/workflows/main.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: World Flow
2+
3+
on:
4+
push:
5+
branches:
6+
- "**"
7+
pull_request:
8+
9+
jobs:
10+
lint:
11+
name: Lint
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Python
19+
uses: actions/setup-python@v4
20+
with:
21+
python-version: "3.11"
22+
23+
- name: Upgrade pip
24+
run: python -m pip install --upgrade pip
25+
26+
- name: Install Dependencies
27+
run: pip install -r requirements.txt
28+
29+
- name: Isort Check
30+
run: isort --check .
31+
32+
- name: Black Check
33+
run: black --check .
34+
35+
- name: Flake8 Check
36+
run: flake8 .

.gitignore

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ cython_debug/
173173
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
174174
# and can be added to the global gitignore or merged into this file. For a more nuclear
175175
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
176-
#.idea/
176+
.idea/
177177

178178
# Abstra
179179
# Abstra is an AI-powered process automation framework.
@@ -205,3 +205,11 @@ cython_debug/
205205
marimo/_static/
206206
marimo/_lsp/
207207
__marimo__/
208+
209+
.DS_Store
210+
211+
*.db
212+
213+
log/
214+
logs/
215+
*.log

pyproject.toml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[tool.black]
2+
line-length = 79
3+
target-version = ['py38', 'py39', 'py310','py311']
4+
extend-exclude = '''
5+
(
6+
\.venv
7+
| venv
8+
| build
9+
| dist
10+
| alembic
11+
)
12+
'''
13+
[tool.isort]
14+
profile = "black"
15+
line_length = 79
16+
multi_line_output = 3
17+
force_grid_wrap = 0
18+
skip_gitignore = true
19+
skip_glob = ["**/alembic/*"]
20+
src_paths = ["app"]

requirements.txt

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
aiosqlite==0.22.1
2+
alembic==1.18.4
3+
annotated-doc==0.0.4
4+
annotated-types==0.7.0
5+
anyio==4.12.1
6+
black==26.1.0
7+
click==8.3.1
8+
fastapi==0.129.0
9+
flake8==7.3.0
10+
greenlet==3.3.1
11+
h11==0.16.0
12+
httptools==0.7.1
13+
idna==3.11
14+
isort==7.0.0
15+
Mako==1.3.10
16+
MarkupSafe==3.0.3
17+
mccabe==0.7.0
18+
mypy_extensions==1.1.0
19+
packaging==26.0
20+
pathspec==1.0.4
21+
platformdirs==4.9.2
22+
pycodestyle==2.14.0
23+
pydantic==2.12.5
24+
pydantic_core==2.41.5
25+
pyflakes==3.4.0
26+
python-dotenv==1.2.1
27+
pytokens==0.4.1
28+
PyYAML==6.0.3
29+
SQLAlchemy==2.0.46
30+
starlette==0.52.1
31+
typing-inspection==0.4.2
32+
typing_extensions==4.15.0
33+
uvicorn==0.41.0
34+
uvloop==0.22.1
35+
watchfiles==1.1.1
36+
websockets==16.0

0 commit comments

Comments
 (0)