File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- from typing import Any , List , Optional
2-
3- from clang . cindex import (
4- AccessSpecifier ,
5- Cursor ,
6- CursorKind ,
7- Diagnostic ,
8- ExceptionSpecificationKind ,
9- SourceLocation ,
10- TranslationUnit ,
11- TypeKind ,
12- )
1+ from typing import Any
2+ from typing import List
3+ from typing import Optional
4+
5+ from clang . cindex import AccessSpecifier
6+ from clang . cindex import Cursor
7+ from clang . cindex import CursorKind
8+ from clang . cindex import Diagnostic
9+ from clang . cindex import ExceptionSpecificationKind
10+ from clang . cindex import SourceLocation
11+ from clang . cindex import TranslationUnit
12+ from clang . cindex import TypeKind
1313
1414
1515def _get_annotations (cursor : Cursor ) -> List [str ]:
Original file line number Diff line number Diff line change @@ -57,16 +57,8 @@ ignore = [
5757fixable = [" ALL" ]
5858unfixable = []
5959
60- [tool .ruff .lint .mccabe ]
61- max-complexity = 8
62-
6360[tool .ruff .lint .isort ]
64- known-third-party = [" mlflow" ]
65-
66- [tool .ruff .lint .per-file-ignores ]
67- "__init__.py" = [
68- " E402" , # import violations
69- ]
61+ force-single-line = true
7062
7163[tool .ruff .format ]
7264quote-style = " double"
You can’t perform that action at this time.
0 commit comments