pyproject.toml 1.6 KB

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