-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
55 lines (46 loc) · 1.12 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[tool.poetry]
name = "bsag_jh61b"
version = "0.1.0"
description = "jh61b steps for BSAG"
authors = ["CS 61B Staff <[email protected]>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
pathspec = "^0.10.2"
pydantic = "^1.10.4"
bsag = {git = "https://github.com/Berkeley-CS61B/BSAG.git"}
[tool.poetry.group.dev.dependencies]
black = "*"
mypy = "*"
ruff = "*"
isort = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.plugins."bsag"]
jh61b = "bsag_jh61b._plugin"
[tool.black]
color = true
line-length = 120
target-version = ['py310']
preview = true
[tool.isort]
line_length = 120
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
combine_as_imports = true
profile = "black"
[tool.mypy]
python_version = "3.10"
show_error_codes = true
strict = true
plugins = ["pydantic.mypy"]
[[tool.mypy.overrides]]
# Pylance and mypy conflict here (error vs ignore) with a partial unknown
module = "bsag_jh61b.checkstyle_jar"
warn_unused_ignores = false
[tool.ruff]
line-length = 120
extend-select = ["UP", "Q", "EM", "I", "B", "A", "C4", "ISC", "SIM"]