-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
125 lines (107 loc) · 3.08 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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[tool.poetry]
name = "dsp-interview-transcripts"
version = "0.1.0"
description = ""
authors = ["Karlis Kanders <[email protected]>"]
readme = "README.md"
packages = [
{ include = "dsp_interview_transcripts" },
]
[tool.poetry.dependencies]
python = "^3.11"
llvmlite = "^0.43.0"
bertopic = "^0.16.3"
sentence-transformers = "^3.1.1"
scikit-learn = "^1.5.2"
jupyter = "^1.1.1"
python-dotenv = "^1.0.1"
matplotlib = "^3.9.2"
altair = "^5.4.1"
emoji = "^2.13.2"
ftfy = "^6.2.3"
streamlit = "^1.39.0"
nltk = "^3.9.1"
transformers = "^4.45.2"
torch = "^2.4.1"
wordcloud = "^1.9.3"
seaborn = "^0.13.2"
openpyxl = "^3.1.5"
langchain = "^0.3.7"
langchain-community = "^0.3.5"
s3fs = "^2024.10.0"
plac = "^1.4.3"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "^7.1.1" # Allows for testing of the project
pytest-cov = "^4.0.0" # Allows to run coverage of the project
moto = "^3.1.6" # Allows for mocking of AWS services
[tool.poetry.group.lint]
optional = true
[tool.poetry.group.lint.dependencies]
flake8 = "^4.0.1" # Style Guide Enforcement
pyproject-flake8 = "^0.0.1-alpha.4" # Allows configuration of flake 8 from pyproject.toml
flake8-bugbear = "^22.3.23" # Finding likely bugs and design problems in your program.
flake8-print = "^4.0.0" # Check for print statements in python files.
flake8-docstrings = "^1.6.0" # Include checks provided by pep257.
flake8-annotations = "^2.8.0" # check for presence of type annotations in function definitions.
isort = "^5.10.1" # Sort imports
yamllint = "^1.26.3" # Linter for YAML files
bandit = {version = "^1.7.4", extras = ["toml"]} # Security linter
pre-commit = "^2.18.1" # Runs a pipeline before commiting code
black = "^22.6.0" # Python style checks
[tool.poetry.group.dev.dependencies]
ipykernel = "^6.29.5"
notebook = "^7.2.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 119
target-version = ['py39']
include = '\.pyi?$'
extend-exclude = '''
/(
\.eggs
| \.git
| \.venv
| \.env
| \.vscode
| build
| dist
| \.mypy_cache
)\
'''
[tool.isort]
profile = 'black'
force_single_line = true
combine_as_imports = true
lines_between_types = 1
lines_after_imports = 2
src_paths = ["dsp_interview_transcripts", "tests"]
line_length = 119
[tool.bandit]
skips = [ # Choose the bandit errors to ignore globally
"B101", # Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
"B104", # Possible binding to all interfaces
]
exclude_dirs = [
".venv",
]
[tool.pytest.ini_options]
minversion = "7.1"
addopts = """
--verbose
--color=yes
--assert=plain
--cov-report term
--cov=dsp_interview_transcripts
--last-failed
"""
testpaths = [
"tests",
]
[tool.coverage.run]
omit = ["*/tests/*"] # Remove test files from coverage run.
[tool.coverage.report]
omit = ["*/tests/*"] # Remove test files from coverage report.