|
1 | 1 | [project]
|
2 | 2 | name = "pyretailscience"
|
3 |
| -version = "0.9.0" |
| 3 | +version = "0.10.0" |
4 | 4 | description = "Retail Data Science Tools"
|
5 | 5 | requires-python = ">=3.10,<3.13"
|
6 | 6 | readme = "README.md"
|
7 | 7 | license = "Elastic-2.0"
|
8 |
| -dependencies = [ |
9 |
| - "pandas>=2.1.4,<3", |
10 |
| - "pyarrow>=14.0.2,<15", |
11 |
| - "matplotlib>=3.9.1,<4", |
12 |
| - "numpy>=1.26.3,<2", |
13 |
| - "loguru>=0.7.2,<0.8", |
14 |
| - "tqdm>=4.66.1,<5", |
15 |
| - "scipy>=1.13.0,<2", |
16 |
| - "scikit-learn>=1.4.2,<2", |
17 |
| - "matplotlib-set-diagrams~=0.0.2", |
18 |
| - "toml>=0.10.2,<0.11", |
19 |
| - "duckdb>=1.0.0,<2", |
20 |
| - "graphviz>=0.20.3,<0.21", |
21 |
| - "ibis-framework[duckdb]>=9.5.0,<10", |
22 |
| -] |
| 8 | +dependencies = [ "pandas>=2.1.4,<3", "pyarrow>=14.0.2,<15", "matplotlib>=3.9.1,<4", "numpy>=1.26.3,<2", "loguru>=0.7.2,<0.8", "tqdm>=4.66.1,<5", "scipy>=1.13.0,<2", "scikit-learn>=1.4.2,<2", "matplotlib-set-diagrams~=0.0.2", "toml>=0.10.2,<0.11", "duckdb>=1.0.0,<2", "graphviz>=0.20.3,<0.21", "ibis-framework[duckdb]>=9.5.0,<10",] |
23 | 9 | [[project.authors]]
|
24 | 10 | name = "Murray Vanwyk"
|
25 | 11 |
|
26 | 12 |
|
27 | 13 | [dependency-groups]
|
28 |
| -dev = [ |
29 |
| - "pytest>=8.0.0,<9", |
30 |
| - "pytest-cov>=4.1.0,<5", |
31 |
| - "nbstripout>=0.7.1,<0.8", |
32 |
| - "ruff>=0.9,<0.10", |
33 |
| - "pre-commit>=3.6.2,<4", |
34 |
| - "pytest-mock>=3.14.0,<4", |
35 |
| -] |
36 |
| -examples = ["jupyterlab>=4.2.5,<5", "tqdm>=4.66.1,<5"] |
37 |
| -docs = [ |
38 |
| - "mkdocs-material>=9.5.4,<10", |
39 |
| - "mkdocstrings[python]>=0.24.0,<0.25", |
40 |
| - "mkdocs>=1.5.3,<2", |
41 |
| - "mkdocs-jupyter>=0.24.6,<0.25", |
42 |
| -] |
| 14 | +dev = [ "pytest>=8.0.0,<9", "pytest-cov>=4.1.0,<5", "nbstripout>=0.7.1,<0.8", "ruff>=0.9,<0.10", "pre-commit>=3.6.2,<4", "pytest-mock>=3.14.0,<4",] |
| 15 | +examples = [ "jupyterlab>=4.2.5,<5", "tqdm>=4.66.1,<5",] |
| 16 | +docs = [ "mkdocs-material>=9.5.4,<10", "mkdocstrings[python]>=0.24.0,<0.25", "mkdocs>=1.5.3,<2", "mkdocs-jupyter>=0.24.6,<0.25",] |
43 | 17 |
|
44 | 18 | [build-system]
|
45 |
| -requires = ["hatchling"] |
| 19 | +requires = [ "hatchling",] |
46 | 20 | build-backend = "hatchling.build"
|
47 | 21 |
|
48 | 22 | [tool.uv]
|
49 |
| -default-groups = ["dev", "examples", "docs"] |
| 23 | +default-groups = [ "dev", "examples", "docs",] |
50 | 24 |
|
51 | 25 | [tool.ruff]
|
52 | 26 | target-version = "py310"
|
53 | 27 | line-length = 120
|
54 | 28 | show-fixes = true
|
55 | 29 |
|
56 | 30 | [tool.ruff.lint]
|
57 |
| -ignore = ["ANN101", "ANN102", "EM101", "TRY003", "PT011", "PTH123", "SLF001"] |
58 |
| -select = [ |
59 |
| - "A", |
60 |
| - "ANN", |
61 |
| - "ARG", |
62 |
| - "B", |
63 |
| - "BLE", |
64 |
| - "C4", |
65 |
| - "C90", |
66 |
| - "COM", |
67 |
| - "D", |
68 |
| - "D1", |
69 |
| - "D2", |
70 |
| - "D3", |
71 |
| - "D4", |
72 |
| - "DTZ", |
73 |
| - "EM", |
74 |
| - "ERA", |
75 |
| - "EXE", |
76 |
| - "F", |
77 |
| - "FA", |
78 |
| - "FLY", |
79 |
| - "G", |
80 |
| - "I", |
81 |
| - "ICN", |
82 |
| - "INP", |
83 |
| - "INT", |
84 |
| - "ISC", |
85 |
| - "N", |
86 |
| - "NPY", |
87 |
| - "PERF", |
88 |
| - "PGH", |
89 |
| - "PIE", |
90 |
| - "PL", |
91 |
| - "PT", |
92 |
| - "PTH", |
93 |
| - "PYI", |
94 |
| - "Q", |
95 |
| - "RET", |
96 |
| - "RUF", |
97 |
| - "RSE", |
98 |
| - "S", |
99 |
| - "SIM", |
100 |
| - "SLF", |
101 |
| - "SLOT", |
102 |
| - "T10", |
103 |
| - "T20", |
104 |
| - "TCH", |
105 |
| - "TID", |
106 |
| - "TRY", |
107 |
| - "UP", |
108 |
| - "W", |
109 |
| - "YTT", |
110 |
| -] |
| 31 | +ignore = [ "ANN101", "ANN102", "EM101", "TRY003", "PT011", "PTH123", "SLF001",] |
| 32 | +select = [ "A", "ANN", "ARG", "B", "BLE", "C4", "C90", "COM", "D", "D1", "D2", "D3", "D4", "DTZ", "EM", "ERA", "EXE", "F", "FA", "FLY", "G", "I", "ICN", "INP", "INT", "ISC", "N", "NPY", "PERF", "PGH", "PIE", "PL", "PT", "PTH", "PYI", "Q", "RET", "RUF", "RSE", "S", "SIM", "SLF", "SLOT", "T10", "T20", "TCH", "TID", "TRY", "UP", "W", "YTT",] |
111 | 33 |
|
112 | 34 | [tool.pytest.ini_options]
|
113 | 35 | addopts = "--cov=pyretailscience --cov-report=term-missing --cov-branch"
|
114 | 36 |
|
115 | 37 | [tool.coverage.run]
|
116 | 38 | branch = true
|
117 |
| -source = ["pyretailscience"] |
| 39 | +source = [ "pyretailscience",] |
118 | 40 |
|
119 | 41 | [tool.coverage.report]
|
120 | 42 | show_missing = true
|
121 | 43 | skip_covered = true
|
122 | 44 |
|
123 | 45 | [tool.ruff.lint.per-file-ignores]
|
124 |
| -"__init__.py" = ["F401", "F403", "F405", "D104"] |
125 |
| -"tests/*" = ["ANN", "ARG", "INP001", "S101", "SLF001"] |
126 |
| -"*.ipynb" = ["T201"] |
| 46 | +"__init__.py" = [ "F401", "F403", "F405", "D104",] |
| 47 | +"tests/*" = [ "ANN", "ARG", "INP001", "S101", "SLF001",] |
| 48 | +"*.ipynb" = [ "T201",] |
127 | 49 |
|
128 | 50 | [tool.ruff.lint.pylint]
|
129 | 51 | max-args = 15
|
|
0 commit comments