@@ -14,6 +14,7 @@ matplotlib = "^3.9.1"
1414numpy = " ^1.26.3"
1515loguru = " ^0.7.2"
1616tqdm = " ^4.66.1"
17+ great-expectations = " ^0.18.19"
1718scipy = " ^1.13.0"
1819scikit-learn = " ^1.4.2"
1920matplotlib-set-diagrams = " ~0.0.2"
@@ -53,4 +54,97 @@ show_missing = true
5354skip_covered = true
5455
5556[tool .ruff ]
57+ target-version = " py310"
5658line-length =120
59+ show-fixes = true
60+
61+ [tool .ruff .lint ]
62+ ignore = [
63+ " ANN101" ,
64+ " ANN102" ,
65+ " EM101" ,
66+ " TRY003" , # Disable until we start creating proper exception classes
67+ " PT011" , # Disable until we start creating proper exception classes
68+ " PTH123" , # Not using open() to open files
69+ ]
70+ select = [
71+ " A" , # Builtins
72+ " ANN" , # Annotations
73+ " ARG" , # Unused arguments
74+ " B" , # Bugbear
75+ " BLE" , # Blind except
76+ " C4" , # Comprehensions
77+ " C90" , # mccabe
78+ " COM" , # Commas
79+ " D" ,
80+ " D1" , # Undocumented public elements
81+ " D2" , # Docstring conventions
82+ " D3" , # Triple double quotes
83+ " D4" , # Docstring text format
84+ " DTZ" , # Datetimes
85+ " EM" , # Error messages
86+ " ERA" , # Commented-out code
87+ " EXE" , # Executable
88+ " F" , # Pyflakes
89+ " FA" , # __future__ annotations
90+ " FLY" , # F-strings
91+ # "FURB", # Refurb
92+ " G" , # Logging format
93+ " I" , # Isort
94+ " ICN" , # Import conventions
95+ " INP" , # Disallow PEP-420 (Implicit namespace packages)
96+ " INT" , # gettext
97+ " ISC" , # Implicit str concat
98+ # "LOG", # Logging
99+ " N" , # PEP-8 Naming
100+ " NPY" , # Numpy
101+ " PERF" , # Unnecessary performance costs
102+ " PGH" , # Pygrep hooks
103+ " PIE" , # Unnecessary code
104+ " PL" , # Pylint
105+ " PT" , # Pytest
106+ " PTH" , # Use Pathlib
107+ " PYI" , # Stub files
108+ " Q" , # Quotes
109+ " RET" , # Return
110+ " RUF" , # Ruff
111+ " RSE" , # Raise
112+ " S" , # Bandit
113+ " SIM" , # Code simplification
114+ " SLF" , # Private member access
115+ " SLOT" , # __slots__
116+ " T10" , # Debugger
117+ " T20" , # Print
118+ " TCH" , # Type checking
119+ " TID" , # Tidy imports
120+ " TRY" , # Exception handling
121+ " UP" , # Pyupgrade
122+ " W" , # Warnings
123+ " YTT" , # sys.version
124+ ]
125+
126+
127+ [tool .ruff .lint .per-file-ignores ]
128+ # https://beta.ruff.rs/docs/rules/
129+ "__init__.py" = [" F401" ," F403" ," F405" ," D104" ]
130+ "tests/*" = [" ANN" , " ARG" , " INP001" , " S101" , " SLF001" ]
131+ "*.ipynb" = [" T201" ]
132+
133+ [tool .ruff .lint .pylint ]
134+ max-args = 15
135+ max-branches = 20
136+ max-returns = 10
137+ max-statements = 80
138+
139+ [tool .ruff .lint .flake8-tidy-imports ]
140+ ban-relative-imports = " all"
141+
142+ [tool .ruff .lint .flake8-quotes ]
143+ docstring-quotes = " double"
144+ multiline-quotes = " double"
145+
146+ [tool .ruff .lint .mccabe ]
147+ max-complexity = 10
148+
149+ [tool .ruff .lint .pydocstyle ]
150+ convention = " google"
0 commit comments