JeffYang52415 commited on
Commit
091743c
1 Parent(s): 1c34fec

refactor: pyproject.toml

Browse files
Files changed (2) hide show
  1. .pre-commit-config.yaml +0 -4
  2. pyproject.toml +4 -6
.pre-commit-config.yaml CHANGED
@@ -35,7 +35,6 @@ repos:
35
  - id: detect-aws-credentials
36
  args: ["--allow-missing-credentials"]
37
  - id: detect-private-key
38
- - id: end-of-file-fixer
39
  - id: check-added-large-files
40
  - id: check-ast
41
  - id: check-byte-order-marker
@@ -43,9 +42,6 @@ repos:
43
  - id: check-docstring-first
44
  - id: check-json
45
  - id: debug-statements
46
- - id: detect-private-key
47
- - id: end-of-file-fixer
48
- - id: trailing-whitespace
49
  - id: mixed-line-ending
50
  - repo: https://github.com/myint/autoflake
51
  rev: v2.2.1
 
35
  - id: detect-aws-credentials
36
  args: ["--allow-missing-credentials"]
37
  - id: detect-private-key
 
38
  - id: check-added-large-files
39
  - id: check-ast
40
  - id: check-byte-order-marker
 
42
  - id: check-docstring-first
43
  - id: check-json
44
  - id: debug-statements
 
 
 
45
  - id: mixed-line-ending
46
  - repo: https://github.com/myint/autoflake
47
  rev: v2.2.1
pyproject.toml CHANGED
@@ -64,14 +64,12 @@ multi_line_output = 3
64
  line_length = 88
65
 
66
  [tool.mypy]
67
- python_version = "3.12"
68
  warn_return_any = true
69
  warn_unused_configs = true
70
- disallow_untyped_defs = true
71
- check_untyped_defs = true
72
- exclude = ['tests/*']
73
- ignore_missing_imports = true
74
- follow_imports = "silent"
75
 
76
 
77
  [tool.pytest.ini_options]
 
64
  line_length = 88
65
 
66
  [tool.mypy]
67
+ python_version = ">=3.12"
68
  warn_return_any = true
69
  warn_unused_configs = true
70
+ exclude = ["tests/.*"]
71
+
72
+
 
 
73
 
74
 
75
  [tool.pytest.ini_options]