diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ed68664..acbe7ef 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -35,8 +35,3 @@ repos: language: system pass_filenames: false always_run: true - - id: liccheck - name: Check OSS License Compliance - entry: make license-check - language: system - files: 'poetry.lock' diff --git a/Makefile b/Makefile deleted file mode 100644 index a285113..0000000 --- a/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -# Copyright (c) 2022 Joseph Hale -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - -license-check: - poetry export > requirements.txt - poetry run liccheck - rm requirements.txt diff --git a/poetry.lock b/poetry.lock index 77d5332..81adf3e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -147,21 +147,6 @@ files = [ {file = "iniconfig-1.1.1.tar.gz", hash = "sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32"}, ] -[[package]] -name = "liccheck" -version = "0.9.2" -description = "Check python packages from requirement.txt and report issues" -optional = false -python-versions = ">=3.5" -files = [ - {file = "liccheck-0.9.2-py2.py3-none-any.whl", hash = "sha256:15cbedd042515945fe9d58b62e0a5af2f2a7795def216f163bb35b3016a16637"}, - {file = "liccheck-0.9.2.tar.gz", hash = "sha256:bdc2190f8e95af3c8f9c19edb784ba7d41ecb2bf9189422eae6112bf84c08cd5"}, -] - -[package.dependencies] -semantic-version = ">=2.7.0" -toml = "*" - [[package]] name = "mypy" version = "1.14.1" @@ -400,21 +385,6 @@ files = [ {file = "pyyaml-6.0.2.tar.gz", hash = "sha256:d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e"}, ] -[[package]] -name = "semantic-version" -version = "2.10.0" -description = "A library implementing the 'SemVer' scheme." -optional = false -python-versions = ">=2.7" -files = [ - {file = "semantic_version-2.10.0-py2.py3-none-any.whl", hash = "sha256:de78a3b8e0feda74cabc54aab2da702113e33ac9d9eb9d2389bcf1f58b7d9177"}, - {file = "semantic_version-2.10.0.tar.gz", hash = "sha256:bdabb6d336998cbb378d4b9db3a4b56a1e3235701dc05ea2690d9a997ed5041c"}, -] - -[package.extras] -dev = ["Django (>=1.11)", "check-manifest", "colorama (<=0.4.1)", "coverage", "flake8", "nose2", "readme-renderer (<25.0)", "tox", "wheel", "zest.releaser[recommended]"] -doc = ["Sphinx", "sphinx-rtd-theme"] - [[package]] name = "setuptools" version = "65.6.3" @@ -442,17 +412,6 @@ files = [ {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, ] -[[package]] -name = "toml" -version = "0.10.2" -description = "Python Library for Tom's Obvious, Minimal Language" -optional = false -python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" -files = [ - {file = "toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b"}, - {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"}, -] - [[package]] name = "tomli" version = "2.0.1" @@ -499,4 +458,4 @@ testing = ["coverage (>=4)", "coverage-enable-subprocess (>=1)", "flaky (>=3)", [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "5f4d1f69011524aaea632d500005d79c29c7a4a8d8cde76d9040aca975946417" +content-hash = "934cf9445f686cbdd4dadd188f85711f8e3440aa93b752246493e8706d812da0" diff --git a/pyproject.toml b/pyproject.toml index 64854b3..887dde5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,34 +16,9 @@ python = "^3.8" [tool.poetry.group.dev.dependencies] pytest = ">=7.2,<9.0" pre-commit = ">=2.20,<4.0" -liccheck = ">=0.8,<0.10" mypy = ">=0.991,<1.15" black = ">=22.12,<25.0" -[tool.liccheck] -authorized_licenses = [ - "MIT", - "Apache-2.0", - "Apache Software", - "Apache License, Version 2.0", - "Apache License 2.0", - "BSD", - "BSD-2-Clause", - "BSD-3-Clause", - "LGPL-2.1", - "LGPL-3.0", - "MPL-2.0", - "Mozilla Public License 2.0 (MPL 2.0)", - "Unlicense" -] -unauthorized_licenses = [ - "GPL", - "GNU General Public License v2 (GPLv2)" -] - -[tool.liccheck.authorized_packages] -# None right now. - [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api"