[project] description = 'test task for websocket with crypto tickers' requires-python = '>= 3.10' maintainers = [ { name = 'Siarhei Siniak', email = 'siarheisiniak@gmail.com' }, ] classifiers = [ 'Programming Language :: Python', ] name = 'online.fxreader.pr34.test_task_2025_06_30_v1' version = '0.1' dependencies = [ 'tomlq', 'mypy', 'marisa-trie', 'pydantic', 'pydantic-settings', 'tomlkit', 'tomlq', 'numpy', 'cryptography', 'mypy', 'pyright', 'ruff', ] [build-system] requires = ['build', 'wheel', 'setuptools', 'setuptools-scm'] build-backend = 'setuptools.build_meta' [tool.ruff] line-length = 160 target-version = 'py310' # builtins = ['_', 'I', 'P'] include = [ # 'follow_the_leader/**/*.py', #'*.py', # '*.recipe', 'python/**/*.py', 'python/**/*.pyi', ] exclude = [ '.venv', ] [tool.ruff.format] quote-style = 'single' indent-style = 'tab' skip-magic-trailing-comma = false [tool.ruff.lint] ignore = [ 'E402', 'E722', 'E741', 'W191', 'E101', 'E501', 'I001', 'F401', 'E714', 'E713', # remove lambdas later on 'E731', # fix this too 'E712', 'E703', # remove unused variables, or fix a bug 'F841', # fix * imports 'F403', # don't care about trailing new lines 'W292', ] select = ['E', 'F', 'I', 'W', 'INT'] [tool.ruff.lint.isort] detect-same-package = true # extra-standard-library = ["aes", "elementmaker", "encodings"] # known-first-party = ["calibre_extensions", "calibre_plugins", "polyglot"] # known-third-party = ["odf", "qt", "templite", "tinycss", "css_selectors"] relative-imports-order = "closest-to-furthest" split-on-trailing-comma = true section-order = [ # '__python__', "future", "standard-library", "third-party", "first-party", "local-folder" ] force-wrap-aliases = true # [tool.ruff.lint.isort.sections] # '__python__' = ['__python__'] [tool.pylsp-mypy] enabled = false [tool.pyright] include = [ #'../../../../../follow_the_leader/views2/payments.py', #'../../../../../follow_the_leader/logic/payments.py', #'../../../../../follow_the_leader/logic/paypal.py', 'python/**/*.py', 'python/**/*.pyi', ] # stubPath = '../mypy-stubs' extraPaths = [ ] #strict = ["src"] analyzeUnannotatedFunctions = true disableBytesTypePromotions = true strictParameterNoneValue = true enableTypeIgnoreComments = true enableReachabilityAnalysis = true strictListInference = true strictDictionaryInference = true strictSetInference = true deprecateTypingAliases = false enableExperimentalFeatures = false reportMissingTypeStubs ="error" reportMissingModuleSource = "warning" reportInvalidTypeForm = "error" reportMissingImports = "error" reportUndefinedVariable = "error" reportAssertAlwaysTrue = "error" reportInvalidStringEscapeSequence = "error" reportInvalidTypeVarUse = "error" reportSelfClsParameterName = "error" reportUnsupportedDunderAll = "error" reportUnusedExpression = "error" reportWildcardImportFromLibrary = "error" reportAbstractUsage = "error" reportArgumentType = "error" reportAssertTypeFailure = "error" reportAssignmentType = "error" reportAttributeAccessIssue = "error" reportCallIssue = "error" reportGeneralTypeIssues = "error" reportInconsistentOverload = "error" reportIndexIssue = "error" reportInvalidTypeArguments = "error" reportNoOverloadImplementation = "error" reportOperatorIssue = "error" reportOptionalSubscript = "error" reportOptionalMemberAccess = "error" reportOptionalCall = "error" reportOptionalIterable = "error" reportOptionalContextManager = "error" reportOptionalOperand = "error" reportRedeclaration = "error" reportReturnType = "error" reportTypedDictNotRequiredAccess = "error" reportPrivateImportUsage = "error" reportUnboundVariable = "error" reportUnhashable = "error" reportUnusedCoroutine = "error" reportUnusedExcept = "error" reportFunctionMemberAccess = "error" reportIncompatibleMethodOverride = "error" reportIncompatibleVariableOverride = "error" reportOverlappingOverload = "error" reportPossiblyUnboundVariable = "error" reportConstantRedefinition = "error" #reportDeprecated = "error" reportDeprecated = "warning" reportDuplicateImport = "error" reportIncompleteStub = "error" reportInconsistentConstructor = "error" reportInvalidStubStatement = "error" reportMatchNotExhaustive = "error" reportMissingParameterType = "error" reportMissingTypeArgument = "error" reportPrivateUsage = "error" reportTypeCommentUsage = "error" reportUnknownArgumentType = "error" reportUnknownLambdaType = "error" reportUnknownMemberType = "error" reportUnknownParameterType = "error" reportUnknownVariableType = "error" #reportUnknownVariableType = "warning" reportUnnecessaryCast = "error" reportUnnecessaryComparison = "error" reportUnnecessaryContains = "error" #reportUnnecessaryIsInstance = "error" reportUnnecessaryIsInstance = "warning" reportUnusedClass = "error" #reportUnusedImport = "error" reportUnusedImport = "none" # reportUnusedFunction = "error" reportUnusedFunction = "warning" #reportUnusedVariable = "error" reportUnusedVariable = "warning" reportUntypedBaseClass = "error" reportUntypedClassDecorator = "error" reportUntypedFunctionDecorator = "error" reportUntypedNamedTuple = "error" reportCallInDefaultInitializer = "none" reportImplicitOverride = "none" reportImplicitStringConcatenation = "none" reportImportCycles = "none" reportMissingSuperCall = "none" reportPropertyTypeMismatch = "none" reportShadowedImports = "none" reportUninitializedInstanceVariable = "none" reportUnnecessaryTypeIgnoreComment = "none" reportUnusedCallResult = "none"