dev-yuje commited on
Commit
3e720d0
·
1 Parent(s): cb92864

refactor: 린트 검증(Ruff) 최적화 및 룰 필터링 설정 추가

Browse files
Files changed (1) hide show
  1. pyproject.toml +7 -2
pyproject.toml CHANGED
@@ -1,7 +1,7 @@
1
  # pyproject.toml
2
 
3
  [tool.ruff]
4
- line-length = 88
5
  target-version = "py310"
6
 
7
  [tool.ruff.lint]
@@ -11,7 +11,12 @@ select = [
11
  "I", # isort (import 정렬)
12
  "N", # 네이밍 규칙
13
  ]
14
- ignore = []
 
 
 
 
 
15
 
16
  # 절대 import만 허용 (상대 import 금지)
17
  [tool.ruff.lint.flake8-tidy-imports]
 
1
  # pyproject.toml
2
 
3
  [tool.ruff]
4
+ line-length = 120
5
  target-version = "py310"
6
 
7
  [tool.ruff.lint]
 
11
  "I", # isort (import 정렬)
12
  "N", # 네이밍 규칙
13
  ]
14
+ ignore = [
15
+ "E501", # Line too long (줄 길이 초과는 지식 그래프/프롬프트 특성상 허용)
16
+ "N999", # Invalid module name (camelCase 파일명 허용)
17
+ "E402", # Module level import not at top of file (스크립트 중간 임포트 허용)
18
+ "E722", # Do not use bare except (크롤러의 포괄적 except 허용)
19
+ ]
20
 
21
  # 절대 import만 허용 (상대 import 금지)
22
  [tool.ruff.lint.flake8-tidy-imports]