-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (55 loc) · 1.54 KB
/
pyproject.toml
File metadata and controls
64 lines (55 loc) · 1.54 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
[tool.poetry]
name = "NightShift"
version = "0.6.0"
description = "Copy cataloging bot"
authors = ["Tomasz Kalata <klingaroo@gmail.com>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
pymarc = "^5.1.2"
SQLAlchemy = "^1.4.40"
PyYAML = "^6.0.1"
psycopg2 = "^2.9.9"
bookops-worldcat = "^1.0.0"
loggly-python-handler = "^1.0.1"
paramiko = "^3.4.0"
bookops-bpl-solr = {git = "https://github.com/BookOps-CAT/bookops-bpl-solr", rev = "v0.4.0"}
bookops-nypl-platform = {git = "https://github.com/BookOps-CAT/bookops-nypl-platform", rev = "v0.4.0"}
bookops-marc = {git = "https://github.com/BookOps-CAT/bookops-marc.git", rev = "0.10.0"}
[tool.poetry.group.dev.dependencies]
pytest = "^8.1.1"
black = "^24.3.0"
pytest-cov = "^5.0.0"
pytest-mock = "^3.14.0"
mypy = "^1.9.0"
types-requests = "^2.31.0"
pytest-sftpserver = "^1.3.0"
types-paramiko = "^3.4.0"
coverage = {extras = ["toml"], version = "^6.3.1"}
[tool.black]
line-length = 88
target-version = ['py39']
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"local: locally run test to be excluded from CI",
"firewalled: tests that can only run inside firewall network, skipping CI"
]
[tool.coverage.run]
relative_files = true
source = ["."]
[tool.mypy]
python_version = 3.9
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = [
"nightshift.datastore",
"nightshift.datastore_transactions"
]
ignore_errors = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"