abinazebinoy commited on
Commit
292922b
·
1 Parent(s): 1f520db

fix: actually commit mypy.ini exclude pattern fix (was reverted/never applied)

Browse files

Previous attempt to fix the (?x) regex parse error was not committed
correctly. Re-applying: exclude now uses plain pipe-separated pattern
compatible with mypy 2.x's INI parser.

Files changed (1) hide show
  1. mypy.ini +1 -19
mypy.ini CHANGED
@@ -1,37 +1,19 @@
1
  [mypy]
2
- # MyPy configuration for VeriFile-X
3
-
4
  python_version = 3.11
5
-
6
- # Import discovery
7
  mypy_path = backend
8
  namespace_packages = True
9
-
10
- # Error reporting
11
  show_error_codes = True
12
  show_error_context = True
13
  show_column_numbers = True
14
  pretty = True
15
-
16
- # Strictness (start lenient, tighten over time)
17
  ignore_missing_imports = True
18
  no_implicit_optional = True
19
  warn_redundant_casts = True
20
  warn_unused_ignores = True
21
  warn_return_any = False
22
  warn_unreachable = True
 
23
 
24
- # Exclude patterns
25
- exclude = (?x)(
26
- ^venv/
27
- | ^\.venv/
28
- | ^build/
29
- | ^dist/
30
- | ^\.pytest_cache/
31
- | ^__pycache__/
32
- )
33
-
34
- # Per-module options
35
  [mypy-backend.tests.*]
36
  ignore_errors = True
37
 
 
1
  [mypy]
 
 
2
  python_version = 3.11
 
 
3
  mypy_path = backend
4
  namespace_packages = True
 
 
5
  show_error_codes = True
6
  show_error_context = True
7
  show_column_numbers = True
8
  pretty = True
 
 
9
  ignore_missing_imports = True
10
  no_implicit_optional = True
11
  warn_redundant_casts = True
12
  warn_unused_ignores = True
13
  warn_return_any = False
14
  warn_unreachable = True
15
+ exclude = venv/|\.venv/|build/|dist/|\.pytest_cache/|__pycache__/
16
 
 
 
 
 
 
 
 
 
 
 
 
17
  [mypy-backend.tests.*]
18
  ignore_errors = True
19