-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (67 loc) · 1.81 KB
/
pyproject.toml
File metadata and controls
77 lines (67 loc) · 1.81 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "alea-carta-est"
authors = [
{ name = "Jules Désir", email = "jules.desir@artefact.com" },
{ name = "Vincent Auriau", email = "vincent.auriau@artefact.com" },
]
description = "Repository for the paper 'Better Capturing Interactions between Products in Retail: Revisited Negative Sampling for Basket Choice Modeling'"
version = "0.0.1"
readme = "README.md"
requires-python = ">=3.9"
[project.urls]
"Homepage" = "https://github.com/artefactory/alea-carta-est"
[tool.setuptools]
packages = [
"python",
]
[tool.ruff]
line-length = 100
target-version = "py310"
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
[tool.ruff.lint]
select = [
"E", # Checks for pycodestyles errors
"W", # Checks for pycodestyles warnings
"F", # Checks for pyflakes errors
"I", # Checks imports (isort)
"N", # Pep-8 Naming conventions
"D", # Docstrings
"ARG", # Unused arguments
"RET", # Flake8 return simplification rules
"RUF", # Ruff specific code quality rules
# "S", # bandit security rules
# "ANN", # Flake8 annotation rules
# "PTH", # Flake8 recommendation to use pathlib
# "PD", # Pandas-vet pandas best practices linting
# "SIM", Common code simplifications
] # See: https://beta.ruff.rs/docs/rules/
ignore = ["D203", "D213", "ANN101", "ANN102", "PTH100", "PTH103", "PTH104", "PTH113", "PTH110", "PTH118", "PTH123", "E402"]
[tool.ruff.lint.per-file-ignores]
"*__init__.py" = ["D", "F401"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.format]
quote-style = "double"
[tool.ruff.lint.isort]
known-first-party = ["alea_carta_est"]
[tool.bandit]
exclude_dirs = ["doc"]