Skip to content

Commit c9d3cd9

Browse files
committed
build: setup dependencies and toolkit
0 parents  commit c9d3cd9

File tree

4 files changed

+68
-0
lines changed

4 files changed

+68
-0
lines changed

.flake8

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[flake8]
2+
count = true
3+
4+
# 100, but some leeway for black.
5+
max_line_length = 105
6+
show_source = False
7+
statistics = False
8+
9+
accept-encodings = utf-8
10+
docstring-convention = numpy
11+
12+
per-file-ignores =
13+
**/__init__.py: F401, F403

.gitignore

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
__pycache__
2+
.vscode
3+
.mypy_cache
4+
*.egg-info/
5+
dist
6+
poetry.lock
7+
8+
test.py
9+
*.ipynb
10+
11+
tests/_*.py
12+
coverage.*
13+
.coverage
14+
15+
docs/build
16+
17+
*.venv

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Sick command handler for [velum](https://github.com/Chromosomologist/velum).

pyproject.toml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[tool.poetry]
2+
name = "sail"
3+
version = "0.1.0"
4+
description = ""
5+
authors = ["Chromosomologist <[email protected]>"]
6+
readme = "README.md"
7+
8+
[tool.poetry.dependencies]
9+
python = "^3.10"
10+
typing-extensions = "^4.4.0"
11+
velum = {git = "https://github.com/chromosomologist/velum"}
12+
13+
[tool.poetry.group.dev.dependencies]
14+
pyright = "^1.1.280"
15+
isort = "^5.10.1"
16+
black = "^22.10.0"
17+
flake8 = "^5.0.4"
18+
slotscheck = "^0.16.1"
19+
20+
[build-system]
21+
requires = ["poetry-core"]
22+
build-backend = "poetry.core.masonry.api"
23+
24+
[tool.isort]
25+
profile = "black"
26+
force_single_line = true
27+
skip_glob = "**/__init__.pyi"
28+
29+
[tool.pyright]
30+
include = ["sail", "examples"]
31+
exclude = ["**/__init__.py"]
32+
pythonVersion = "3.10"
33+
typeCheckingMode = "strict"
34+
35+
[tool.black]
36+
line-length = 100
37+
target-version = ["py310"]

0 commit comments

Comments
 (0)