12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- [build-system]
- requires = [
- "setuptools>=57",
- "wheel>=0.36.0",
- "build>=0.5.1",
- ]
- build-backend = "setuptools.build_meta"
- [tool.pylint.format]
- indent-string = "\t"
- indent-after-paren = 2
- max-line-length = 116
-
- [tool.pylint.main]
- recursive = true
- jobs = 0
- ignore = [
- "data",
- "wordlist",
- "pyethereum",
- "rlp",
- "main_split.py",
- "ut_tx.py",
- ]
- ignored-modules = [ # ignored for no-member, otherwise checked
- "mmgen.proto.secp256k1.secp256k1",
- "mmgen.term",
- "msvcrt",
- "gmpy2",
- ]
-
- [tool.pylint."messages control"]
- disable = [
- "raw-checker-failed",
- "bad-inline-option",
- "locally-disabled",
- "file-ignored",
- "suppressed-message",
- "useless-suppression",
- "deprecated-pragma",
- "use-symbolic-message-instead",
- "use-implicit-booleaness-not-comparison-to-string",
- "use-implicit-booleaness-not-comparison-to-zero",
- "not-async-context-manager",
- # non-default:
- "no-method-argument",
- "function-redefined",
- "method-hidden",
- ]
- [tool.pylint.miscellaneous]
- notes = ["FIXME", "TODO", "DEBUG", "WIP"]
-
- [tool.pylint.typecheck]
- mixin-class-rgx = """.*[Mm]ixin|\
- ^(Hilite|InitErrors|DummyWIF|\
- cfg_file|cfg_file_sample|\
- MoneroMMGenFile|keygen_base|xmr_signable|\
- CmdTestShared)$"""
- ignored-classes = [ # ignored for no-member, otherwise checked
- "optparse.Values",
- "thread._local",
- "_thread._local",
- "argparse.Namespace",
- # mmgen:
- "baseconv",
- "mmgen.autosign.Signable.base",
- "mmgen.autosign.Autosign", # tx_dir, etc. created dynamically
- "Sha2",
- "mmgen.xmrwallet.file.MoneroMMGenTX.Base",
- "mmgen.xmrwallet.file.MoneroWalletOutputsFile.Base",
- "mmgen.xmrwallet.ops.sweep.OpSweep",
- "mmgen.xmrwallet.ops.wallet.OpWallet",
- "mmgen.xmrwallet.ops.label.OpLabel",
- "mmgen.xmrwallet.ops.new.OpNew",
- "mmgen.xmrwallet.ops.txview.OpTxview",
- "mmgen.xmrwallet.file.outputs.MoneroWalletOutputsFile.Base",
- "mmgen.xmrwallet.file.tx.MoneroMMGenTX.Base",
- "mmgen.proto.eth.tx.Completed",
- "TxInfo",
- "TwRPC",
- "MnemonicEntry",
- "MMGenObjectDevTools",
- "MnEntryMode",
- "deserialized_tx",
- # test suite:
- "TestHashFunc",
- "GenTool",
- "VirtBlockDeviceBase",
- "SwapMgrBase",
- "Opts",
- "Help",
- ]
|