aboutsummaryrefslogblamecommitdiffstats
path: root/pyproject.toml
blob: ce9df5831219121e8f5a693874e678f36df6f484 (plain) (tree)
1
2
3
4
5
6


                                        


                 


















                                                     
                 





                                

                                                               
                 


                               


                                                          

                                 









                                         
[tool.black]
extend-exclude = '^/typings/weechat.pyi'

[tool.isort]
profile = "black"

[tool.poetry]
name = "wee-slack"
version = "3.0.0"
description = ""
license = "MIT"
authors = ["Trygve Aaberge <trygveaa@gmail.com>"]
readme = "README.md"
repository = "https://github.com/wee-slack/wee-slack"
# packages = [{include = "wee_slack"}]
# packages = [{ include = "." }]

[tool.poetry.dependencies]
python = "^3.7"
websocket-client = ">= 0.37.0"

[tool.poetry.group.dev.dependencies]
black = "^22.8.0"
pytest = "^7.1.3"
pytest-cov = "^4.0.0"
isort = "^5.10.1"

[tool.pylint.main]
ignored-modules = ["weechat"]

[tool.pylint."messages control"]
disable = [
  "dangerous-default-value",        # inconvenient with types
  "inconsistent-return-statements", # no need when using typing
  "invalid-name",
  "missing-class-docstring",
  "missing-function-docstring",
  "missing-module-docstring",
  "no-member",                      # incorrect reports
  "protected-access",               # covered by pyright
  "too-few-public-methods",         # too often bad advice
  "too-many-arguments",
  "too-many-instance-attributes",
]

[tool.pyright]
strict = ["**"]
reportMissingModuleSource = false


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"