@@ -4,7 +4,6 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " runtime-keypath"
7- version = " 0.1.7"
87authors = [{
name =
" Chris Fu" ,
email =
" [email protected] " }]
98description = " Supports runtime key-path recording/accessing for Python."
109classifiers = [
@@ -17,8 +16,127 @@ classifiers = [
1716readme = " README.md"
1817license = { file = " LICENSE" }
1918requires-python = " >=3.8"
20- dependencies = [" typing_extensions >= 4.9 " ]
19+ dynamic = [" version " ]
2120
2221[project .urls ]
2322Homepage = " https://github.com/Azureblade3808/py-runtime-keypath"
2423"Bug Tracker" = " https://github.com/Azureblade3808/py-runtime-keypath/issues"
24+
25+ [tool .isort ]
26+ profile = " black"
27+
28+ case_sensitive = true
29+ combine_as_imports = true
30+ reverse_relative = true
31+ star_first = true
32+ treat_all_comments_as_code = true
33+
34+ [tool .pyright ]
35+
36+ # region[Main Configuration Options]
37+ include = [" **/*.py" , " **/*.pyi" ]
38+
39+ pythonPlatform = " All"
40+
41+ typeCheckingMode = " strict"
42+ useLibraryCodeForTypes = false
43+ # endregion
44+
45+ # region[Type Check Diagnostics Settings]
46+ analyzeUnannotatedFunctions = true
47+ strictParameterNoneValue = false
48+ enableTypeIgnoreComments = true
49+ disableBytesTypePromotions = true
50+ strictListInference = false
51+ strictDictionaryInference = false
52+ strictSetInference = false
53+ deprecateTypingAliases = true
54+ enableExperimentalFeatures = false
55+ reportMissingTypeStubs = " none"
56+ reportMissingModuleSource = " error"
57+ reportInvalidTypeForm = " error"
58+ reportMissingImports = " error"
59+ reportUndefinedVariable = " error"
60+ reportAssertAlwaysTrue = " error"
61+ reportInvalidStringEscapeSequence = " error"
62+ reportInvalidTypeVarUse = " error"
63+ reportSelfClsParameterName = " warning"
64+ reportUnsupportedDunderAll = " warning"
65+ reportUnusedExpression = " none"
66+ reportWildcardImportFromLibrary = " warning"
67+ reportAbstractUsage = " error"
68+ reportArgumentType = " error"
69+ reportAssertTypeFailure = " error"
70+ reportAssignmentType = " error"
71+ reportAttributeAccessIssue = " error"
72+ reportCallIssue = " error"
73+ reportGeneralTypeIssues = " error"
74+ reportInconsistentOverload = " error"
75+ reportIndexIssue = " error"
76+ reportInvalidTypeArguments = " error"
77+ reportNoOverloadImplementation = " error"
78+ reportOperatorIssue = " error"
79+ reportOptionalSubscript = " error"
80+ reportOptionalMemberAccess = " error"
81+ reportOptionalCall = " error"
82+ reportOptionalIterable = " error"
83+ reportOptionalContextManager = " error"
84+ reportOptionalOperand = " error"
85+ reportRedeclaration = " error"
86+ reportReturnType = " error"
87+ reportTypedDictNotRequiredAccess = " error"
88+ reportPrivateImportUsage = " error"
89+ reportUnboundVariable = " error"
90+ reportUnhashable = " error"
91+ reportUnusedCoroutine = " error"
92+ reportUnusedExcept = " error"
93+ reportFunctionMemberAccess = " warning"
94+ reportIncompatibleMethodOverride = " error"
95+ reportIncompatibleVariableOverride = " error"
96+ reportOverlappingOverload = " none"
97+ reportPossiblyUnboundVariable = " error"
98+ reportConstantRedefinition = " error"
99+ reportDeprecated = " warning"
100+ reportDuplicateImport = " error"
101+ reportIncompleteStub = " warning"
102+ reportInconsistentConstructor = " error"
103+ reportInvalidStubStatement = " error"
104+ reportMatchNotExhaustive = " error"
105+ reportMissingParameterType = " none"
106+ reportMissingTypeArgument = " none"
107+ reportPrivateUsage = " none"
108+ reportTypeCommentUsage = " error"
109+ reportUnknownArgumentType = " none"
110+ reportUnknownLambdaType = " none"
111+ reportUnknownMemberType = " none"
112+ reportUnknownParameterType = " none"
113+ reportUnknownVariableType = " none"
114+ reportUnnecessaryCast = " none"
115+ reportUnnecessaryComparison = " none"
116+ reportUnnecessaryContains = " none"
117+ reportUnnecessaryIsInstance = " none"
118+ reportUnusedClass = " warning"
119+ reportUnusedImport = " warning"
120+ reportUnusedFunction = " warning"
121+ reportUnusedVariable = " warning"
122+ reportUntypedBaseClass = " warning"
123+ reportUntypedClassDecorator = " none"
124+ reportUntypedFunctionDecorator = " none"
125+ reportUntypedNamedTuple = " warning"
126+ reportCallInDefaultInitializer = " warning"
127+ reportImplicitOverride = " none"
128+ reportImplicitStringConcatenation = " warning"
129+ reportImportCycles = " none"
130+ reportMissingSuperCall = " none"
131+ reportPropertyTypeMismatch = " none"
132+ reportShadowedImports = " warning"
133+ reportUninitializedInstanceVariable = " none"
134+ reportUnnecessaryTypeIgnoreComment = " none"
135+ reportUnusedCallResult = " error"
136+ # endregion
137+
138+ [tool .pytest .ini_options ]
139+ python_files = [" **/__test__.py" , " **/*_test.py" ]
140+
141+ [tool .setuptools .dynamic ]
142+ version = { attr = " runtime_keypath.__version__" }
0 commit comments