@@ -113,38 +113,38 @@ dependencies = [
113
113
" xor-cipher" ,
114
114
" yfinance" ,
115
115
]
116
+
117
+ [build-system ]
118
+ requires = [" setuptools>=65" , " wheel" ]
119
+ build-backend = " setuptools.build_meta"
120
+
121
+ [tool .codespell ]
122
+ ignore-words-list = " 3rt,abd,aer,ans,bitap,crate,damon,fo,followings,hist,iff,kwanza,manuel,mater,secant,som,sur,tim,toi,zar"
123
+ skip = " *.css,*.js,*.lock"
124
+
116
125
[tool .ruff ]
117
126
line-length = 88
118
127
target-version = " py313"
119
- select = [
120
- " E" , " W" , " F" , " I" , " B" , " C4" , " UP" , " YTT" ,
121
- " EM" , " EXE" , " G" , " ISC" , " PLC" , " PLW" , " PT" , " S" , " SIM" , " SLF"
122
- ]
123
-
128
+ select = [" E" , " F" , " I" , " UP" , " YTT" , " PLC" , " PT" , " SIM" ]
124
129
ignore = [
125
- " B101" ,
126
- " B904" , # Within an `except` clause, raise exceptions with `raise ... from err`
127
- " B905" , # `zip()` without an explicit `strict=` parameter
128
- " EM101" , # Exception must not use a string literal
129
- " EXE001" , # Shebang is present but file is not executable
130
- " G004" , # Logging statement uses f-string
131
- " ISC001" , # Conflicts with ruff format
132
- " PLC0415" ,# import-outside-top-level
133
- " PLC1901" ,# `{}` can be simplified to `{}` as an empty string is falsey
134
- " PLW060" , # Using global without assignment
135
- " PLW1641" ,# eq-without-hash
136
- " PLW2901" ,# Redefined loop variable
137
- " PT011" , # pytest.raises(Exception) is too broad
138
- " PT018" , # Assertion should be broken down
139
- " PT028" , # pytest-parameter-with-default-argument
140
- " S101" , # Use of `assert` detected
141
- " S311" , # Standard pseudo-random generators
142
- " SIM905" , # Consider using a list literal instead of `str.split`
143
- " SLF001" , # Private member accessed
144
- " UP038" , # Use `X | Y` in `{}` call
130
+ " B904" , " B905" , " PLC0415" ,
131
+ " PLW2901" , " PT011" , " PT018" , " PT028" ,
132
+ " S101" , " SIM905" , " UP038"
145
133
]
146
134
147
- max-args = 10
148
- max-branches = 20
149
- max-returns = 8
150
- max-statements = 88
135
+ [tool .ruff .lint .per-file-ignores ]
136
+ "__init__.py" = [" F401" ]
137
+ "tests/**" = [" S101" , " PT011" , " PT018" ]
138
+ ".*_test\\ .py" = [" S101" , " PT011" , " PT018" ]
139
+
140
+ [tool .mypy ]
141
+ python_version = " 3.13"
142
+ ignore_missing_imports = true
143
+ exclude = " .*venv.*|.*__pycache__.*|.*migrations.*"
144
+
145
+ [[tool .mypy .overrides ]]
146
+ module = [
147
+ " django.*" , " tensorflow.*" , " keras.*" ,
148
+ " matplotlib.*" , " pymongo.*"
149
+ ]
150
+ ignore_missing_imports = true
0 commit comments