File tree Expand file tree Collapse file tree 6 files changed +2043
-1
lines changed Expand file tree Collapse file tree 6 files changed +2043
-1
lines changed Original file line number Diff line number Diff line change
1
+ [flake8]
2
+ max-line-length = 100
3
+ extend-ignore = E203, W503
Original file line number Diff line number Diff line change @@ -157,4 +157,9 @@ cython_debug/
157
157
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
158
158
# and can be added to the global gitignore or merged into this file. For a more nuclear
159
159
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
160
- # .idea/
160
+ .idea /
161
+ .python-version
162
+
163
+ .tzapignore
164
+ .tzapinclude
165
+ .tzap-data
Original file line number Diff line number Diff line change
1
+ CMD: =poetry run
2
+
3
+ all : test lint
4
+
5
+ lint :
6
+ poetry check
7
+ $(CMD ) isort --check .
8
+ $(CMD ) black --check .
9
+ $(CMD ) flake8
10
+ $(CMD ) mypy
11
+
12
+ test :
13
+ $(CMD ) pytest
Original file line number Diff line number Diff line change
1
+ [mypy]
2
+ # equivalent to mypy --strict
3
+ warn_unused_configs = True
4
+ disallow_any_generics = True
5
+ disallow_subclassing_any = True
6
+ disallow_untyped_calls = True
7
+ disallow_untyped_defs = True
8
+ disallow_incomplete_defs = True
9
+ check_untyped_defs = True
10
+ disallow_untyped_decorators = True
11
+ no_implicit_optional = True
12
+ warn_redundant_casts = True
13
+ warn_unused_ignores = True
14
+ warn_return_any = True
15
+ no_implicit_reexport = True
16
+ strict_equality = True
17
+
18
+ # Other settings
19
+ allow_redefinition = False
20
+ disallow_any_explicit = False
21
+ ignore_errors = False
22
+ local_partial_types = True
23
+ strict_optional = True
24
+ warn_no_return = True
25
+ warn_unreachable = True
26
+ show_error_codes = True
27
+
28
+ files =
29
+ vector_embedding_server
You can’t perform that action at this time.
0 commit comments