-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (76 loc) · 1.8 KB
/
pyproject.toml
File metadata and controls
94 lines (76 loc) · 1.8 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[project]
name="mesh_api_specification"
python = "^3.8"
[tool.poetry]
name = "mesh-api-specification"
version = "0.0.1-alpha"
description = "MESH Api specification repo"
license = "MIT"
authors = [
"NHS England"
]
readme = 'README.md'
repository = "https://github.com/NHSDigital/mesh-api-api"
homepage = "https://digital.nhs.uk/developer/api-catalogue/message-exchange-for-social-care-and-health-api"
keywords = ["healthcare", "uk", "nhs"]
[tool.poetry.dependencies]
python = "^3.8"
docopt = "^0.6.2"
jsonpath-rw = "^1.4.0"
semver = "^3.0.4"
gitpython = "^3.1.46"
[tool.poetry.dev-dependencies]
ruff = "^0.14.7"
black = "^24.4.2"
pip-licenses = "^4.3.3"
jinja2 = "^3.1.6"
[tool.poetry.scripts]
[tool.poetry.group.dev.dependencies]
black = "^24.4.2"
[tool.black]
line-length = 120
target-version = ['py38', 'py39', 'py310', 'py311']
include = '\.pyi?$'
#extend-exclude = '''
#/(
# # The following are specific to Black, you probably don't want those.
# | blib2to3
# | tests/data
# | profiling
#)/
#'''
[tool.ruff]
src = ["."]
exclude = [
".git",
".venv",
]
line-length = 120
target-version = "py38"
[tool.ruff.lint]
select = [
# See https://beta.ruff.rs/docs/rules/ for a full list
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"Q", # flake8-quotes
"YTT", # flake8-2020
"RSE", # flake8-raise
"T10", # flake8-debugger
"ISC", # flake8-implicit-str-concat
"ICN", # flake8-import-conventions
"PIE", # flake8-pie
"EXE", # flake8-executable
"A", # flake8-builtins
"UP", # pyupgrade
"PT", # flake8-pytest-style
"PERF", # Perflint #
"RUF", # Ruff-specific rules
"SIM", # flake8-simplify
]
ignore = []
unfixable = []
per-file-ignores = {}