pyproject.toml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. [build-system]
  2. requires = [
  3. "setuptools>=57",
  4. "wheel>=0.36.0",
  5. "build>=0.5.1",
  6. ]
  7. build-backend = "setuptools.build_meta"
  8. [tool.pylint.format]
  9. indent-string = "\t"
  10. indent-after-paren = 2
  11. max-line-length = 110
  12. [tool.pylint.main]
  13. recursive = true
  14. jobs = 0
  15. ignore = [
  16. "data",
  17. "wordlist",
  18. "pyethereum",
  19. "rlp",
  20. "main_split.py",
  21. ]
  22. ignored-modules = [ # ignored for no-member, otherwise checked
  23. "mmgen.proto.secp256k1.secp256k1",
  24. "mmgen.term",
  25. "msvcrt",
  26. "gmpy2",
  27. ]
  28. [tool.pylint."messages control"]
  29. disable = [
  30. "raw-checker-failed",
  31. "bad-inline-option",
  32. "locally-disabled",
  33. "file-ignored",
  34. "suppressed-message",
  35. "useless-suppression",
  36. "deprecated-pragma",
  37. "use-symbolic-message-instead",
  38. "use-implicit-booleaness-not-comparison-to-string",
  39. "use-implicit-booleaness-not-comparison-to-zero",
  40. # non-default:
  41. "no-method-argument",
  42. "function-redefined",
  43. "method-hidden",
  44. ]
  45. [tool.pylint.miscellaneous]
  46. notes = ["FIXME", "TODO", "DEBUG", "WIP"]
  47. [tool.pylint.typecheck]
  48. mixin-class-rgx = """.*[Mm]ixin|\
  49. ^(Hilite|InitErrors|DummyWIF|\
  50. cfg_file|cfg_file_sample|\
  51. MoneroMMGenFile|keygen_base|xmr_signable|\
  52. CmdTestShared)$"""
  53. ignored-classes = [ # ignored for no-member, otherwise checked
  54. "optparse.Values",
  55. "thread._local",
  56. "_thread._local",
  57. "argparse.Namespace",
  58. # mmgen:
  59. "baseconv",
  60. "mmgen.autosign.Signable.base",
  61. "Sha2",
  62. "mmgen.xmrwallet.MoneroMMGenTX.Base",
  63. "mmgen.xmrwallet.MoneroWalletOutputsFile.Base",
  64. "mmgen.proto.eth.tx.Completed",
  65. "TxInfo",
  66. "TwRPC",
  67. "MnemonicEntry",
  68. "MMGenObjectDevTools",
  69. "MnEntryMode",
  70. "deserialized_tx",
  71. # test suite:
  72. "TestHashFunc",
  73. "GenTool",
  74. ]