diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 380ed62..b6fd8da 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,22 +1,27 @@ repos: - repo: https://github.com/PyCQA/isort - rev: 5.6.4 + rev: 5.9.3 hooks: - id: isort - repo: https://github.com/psf/black - rev: 20.8b1 + rev: 21.9b0 hooks: - id: black +- repo: https://github.com/PyCQA/pydocstyle + rev: 6.1.1 + hooks: + - id: pydocstyle - repo: https://gitlab.com/pycqa/flake8 - rev: 3.8.4 + rev: 3.9.2 hooks: - id: flake8 + additional-dependencies: [flake8-black, flake8-isort, flake8-docstrings] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.790 + rev: v0.910 hooks: - id: mypy - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.3.0 + rev: v4.0.1 hooks: - id: check-toml - id: check-yaml diff --git a/buildurl/py.typed b/buildurl/py.typed new file mode 100644 index 0000000..e69de29 diff --git a/requirements-dev.txt b/requirements-dev.txt index c3acd06..18a23e0 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,18 +1,20 @@ -black==20.8b1 -build==0.3.0 -coverage==5.4 -flake8==3.8.4 -flake8-black==0.2.1 +black==21.9b0 +build==0.7.0 +coverage==6.0.1 +flake8==3.9.2 +flake8-black==0.2.3 +flake8-docstrings==1.6.0 flake8-isort==4.0.0 -isort==5.7.0 -mypy==0.812 +isort==5.9.3 +mypy==0.910 mypy-extensions==0.4.3 -pre-commit==2.10.1 -pytest==6.2.2 -pytest-cov==2.11.1 -python-semantic-release==7.15.0 +pre-commit==2.15.0 +pydocstyle==6.1.1 +pytest==6.2.5 +pytest-cov==3.0.0 +python-semantic-release==7.19.2 recommonmark==0.7.1 semver==2.13.0 -Sphinx==3.5.1 -sphinx-rtd-theme==0.5.1 -sphinxcontrib-spelling==7.1.0 +Sphinx==4.2.0 +sphinx-rtd-theme==1.0.0 +sphinxcontrib-spelling==7.2.1 diff --git a/setup.cfg b/setup.cfg index 172532e..efb9c36 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,6 +4,8 @@ version = attr: buildurl.__version__ author = Micael Jarniac author_email = micael@jarniac.dev description = Simple URL builder +license = MIT +license_file = LICENSE long_description = file: README.md long_description_content_type = text/markdown url = https://github.com/MicaelJarniac/BuildURL @@ -11,12 +13,17 @@ project_urls = Bug Tracker = https://github.com/MicaelJarniac/BuildURL/issues classifiers = Programming Language :: Python :: 3 + Programming Language :: Python :: 3 :: Only License :: OSI Approved :: MIT License Operating System :: OS Independent [options] packages = find: python_requires = >=3.6 +zip_safe = no + +[options.package_data] +buildurl = py.typed [flake8] max-line-length = 88 @@ -26,6 +33,9 @@ ignore = E203, E266, E501, W503, F403, F401 [isort] profile = black +[pydocstyle] +convention = google + [semantic_release] changelog_capitalize = false version_variable = buildurl/__init__.py:__version__