diff --git a/.coveragerc b/.coveragerc index 06cdc30033b7a98c0f96be7f9f53122d0bfb2911..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,16 +0,0 @@ -[run] -branch=1 -source= - satella -concurrency=thread -omit= - tests/* - .eggs/* - setup.py - satella/__init__.py - satella/os/signals.py - -[report] -include= - satella/* - diff --git a/.gitignore b/.gitignore index 89b9ddbf014ba784e52bc0919e4d851cd00d8c4f..49bad4a9adcf19af864a6aa517c80ff8317c99d8 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ ################# test*.json test*.txt +.pytest_cache .eggs satella.sublime* hs_err_pid*.log diff --git a/.pylintrc b/.pylintrc deleted file mode 100644 index 2de1d7860254409d5911c6d5b16a76f5a5ce5ce8..0000000000000000000000000000000000000000 --- a/.pylintrc +++ /dev/null @@ -1,10 +0,0 @@ -[MASTER] -disable= - C0114, # missing-module-docstring - C0116, # missing-function-docstring - W0603, # global-statement - C0103, # invalid-name - R0913 # too-many-arguments - -[FORMAT] -max-line-length=110 diff --git a/pyproject.toml b/pyproject.toml index 59b7acb1a6505a16e74680c3d5e14b28d06ed167..ff494f75b80c86799a7467104e8026c85b4e7115 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,13 +4,7 @@ dynamic = ["version"] description = "Utilities for writing servers in Python" readme = {file = "README.md", content-type="text/markdown"} authors = [ - {name = "Piotr MaĹlanka", email = "pmaslanka@smok.co"}, - {name = "Tzu-Ping Chung", email = "tzu-ping@example.com"}, - {name = "Another person"}, - {email = "different.person@example.com"}, -] -maintainers = [ - {name = "Brett Cannon", email = "brett@example.com"} + {name = "Piotr MaĹlanka", email = "pmaslanka@smok.co"} ] requires-python = ">= 3.5" license = {file = "LICENSE", text="MIT License"} @@ -85,3 +79,35 @@ packages = ["satella", "satella.opentracing", "satella.os", "satella.time"] + +[tool.pytest] +log_cli = true + +[tool.pylint.format] +max-line-length = 120 + +[tool.pylint.MASTER] +disable = ''' + missing-module-docstring, + missing-class-docstring, + missing-function-docstring, + global-statement, + invalid-name, + too-many-arguments +''' + +[tool.coverage.run] +branch=1 +source= ["satella"] +concurrency="thread" +omit= [ + "tests/*", + ".eggs/*", + "setup.py", + "satella/__init__.py", + "satella/os/signals.py"] + +[report] +include=[ + "satella/*"] + diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index 20341273762b5f2015703410eaebe5ff4007e8d7..0000000000000000000000000000000000000000 --- a/pytest.ini +++ /dev/null @@ -1,3 +0,0 @@ -[pytest] -log_cli = true -