From 966c9c4360298d13dc47118b42ca9e99aab8a9d1 Mon Sep 17 00:00:00 2001 From: fossabot Date: Thu, 30 Nov 2023 06:20:47 -0800 Subject: [PATCH 1/2] Add license scan report and status Signed off by: fossabot --- README.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.rst b/README.rst index 4016143..278f8c8 100755 --- a/README.rst +++ b/README.rst @@ -1,3 +1,5 @@ +[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fglamod%2Fmdf_reader.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fglamod%2Fmdf_reader?ref=badge_shield) + ================================================ Model Data Format reader: ``mdf_reader`` toolbox ================================================ @@ -121,3 +123,6 @@ For more details on how to use the ``mdf_reader`` tool see the following `jupyte .. |funding| image:: https://img.shields.io/badge/Powered%20by-Copernicus-blue.svg :target: https://climate.copernicus.eu/ :alt: Funding + + +[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fglamod%2Fmdf_reader.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fglamod%2Fmdf_reader?ref=badge_large) \ No newline at end of file From bb9ceb79bce283f66213c53aa67761984ed9202e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 30 Nov 2023 14:21:08 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- README.rst | 2 +- pyproject.toml | 264 ++++++++++++++++++++++++------------------------- 2 files changed, 133 insertions(+), 133 deletions(-) diff --git a/README.rst b/README.rst index 278f8c8..e0aa3c9 100755 --- a/README.rst +++ b/README.rst @@ -125,4 +125,4 @@ For more details on how to use the ``mdf_reader`` tool see the following `jupyte :alt: Funding -[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fglamod%2Fmdf_reader.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fglamod%2Fmdf_reader?ref=badge_large) \ No newline at end of file +[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fglamod%2Fmdf_reader.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fglamod%2Fmdf_reader?ref=badge_large) diff --git a/pyproject.toml b/pyproject.toml index 9fdde87..fbcd404 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,132 +1,132 @@ -[build-system] -requires = [ - "setuptools>=45", - "wheel", - "setuptools_scm[toml]>=6.2" -] -build-backend = "setuptools.build_meta" - -[project] -name = "mdf_reader" -description = "Model Data Format reader toolbox" -readme = "README.rst" -requires-python = ">=3.9" -license = {file = "LICENSE"} -keywords = ["mdf_reader"] -classifiers = [ - "Development Status :: 2 - Pre-Alpha", - "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", - "Natural Language :: English", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11" -] -dynamic = ["version", "dependencies"] - -[project.scripts] -mdf_reader = "mdf_reader.cli:main" - -[project.urls] -homepage = "https://mdf-reader.readthedocs.io" -documentation = "https://mdf-reader.readthedocs.io" -repository = "https://github.com/glamod/mdf_reader.git" -changelog = "https://mdf-reader.readthedocs.io/en/latest/history.html" - -[tool.black] -target-version = ["py38"] - -[tool.coverage.run] -relative_files = true -omit = ["tests/*.py"] - -[tool.isort] -profile = "black" -py_version = 38 -append_only = true - -[tool.mypy] -exclude = "doc|flycheck" -files = "index_calculator/" -show_error_codes = true -warn_unused_ignores = true - -[[tool.mypy.overrides]] -module = [ - "pandas", - "matplotlib", - "pytest" -] -ignore_missing_imports = true - -[tool.nbqa.md] -mdformat = true - -[tool.pytest] -python_files = "test_*.py" -testpaths = ["./tests"] - -[tool.rstcheck] -report_level = "WARNING" -ignore_roles = [ - "pull", - "issue" -] -ignore_directives = [ - "ipython", - "autodata", - "autosummary" -] - -[tool.ruff] -target-version = "py38" -builtins = ["ellipsis"] -exclude = [ - ".eggs", - "doc" -] -# E402: module level import not at top of file -# E501: line too long - let black worry about that -# E731: do not assign a lambda expression, use a def -ignore = [ - "E203", - "E402", - "E501", - "E731" -] -select = [ - # Pyflakes - "F", - # Pycodestyle - "E", - "W", - # isort - "I", - # Pyupgrade - "UP" -] - -[tool.ruff.isort] -known-first-party = ["mdf_reader"] -known-third-party = [ - "matplotlib", - "numpy", - "pandas", - "pkg_resources", - "pytest", - "setuptools", - "sphinx_autosummary_accessors" -] - -[tool.setuptools] -packages = ["mdf_reader"] - -[tool.setuptools.dynamic] -dependencies = {file = "ci/requirements/requirements.txt"} - -[tool.setuptools_scm] -fallback_version = "999" -write_to = "mdf_reader/_version.py" -write_to_template = '__version__ = "{version}"' -tag_regex = "^(?Pv)?(?P[^\\+]+)(?P.*)?$" +[build-system] +requires = [ + "setuptools>=45", + "wheel", + "setuptools_scm[toml]>=6.2" +] +build-backend = "setuptools.build_meta" + +[project] +name = "mdf_reader" +description = "Model Data Format reader toolbox" +readme = "README.rst" +requires-python = ">=3.9" +license = {file = "LICENSE"} +keywords = ["mdf_reader"] +classifiers = [ + "Development Status :: 2 - Pre-Alpha", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Natural Language :: English", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11" +] +dynamic = ["version", "dependencies"] + +[project.scripts] +mdf_reader = "mdf_reader.cli:main" + +[project.urls] +homepage = "https://mdf-reader.readthedocs.io" +documentation = "https://mdf-reader.readthedocs.io" +repository = "https://github.com/glamod/mdf_reader.git" +changelog = "https://mdf-reader.readthedocs.io/en/latest/history.html" + +[tool.black] +target-version = ["py38"] + +[tool.coverage.run] +relative_files = true +omit = ["tests/*.py"] + +[tool.isort] +profile = "black" +py_version = 38 +append_only = true + +[tool.mypy] +exclude = "doc|flycheck" +files = "index_calculator/" +show_error_codes = true +warn_unused_ignores = true + +[[tool.mypy.overrides]] +module = [ + "pandas", + "matplotlib", + "pytest" +] +ignore_missing_imports = true + +[tool.nbqa.md] +mdformat = true + +[tool.pytest] +python_files = "test_*.py" +testpaths = ["./tests"] + +[tool.rstcheck] +report_level = "WARNING" +ignore_roles = [ + "pull", + "issue" +] +ignore_directives = [ + "ipython", + "autodata", + "autosummary" +] + +[tool.ruff] +target-version = "py38" +builtins = ["ellipsis"] +exclude = [ + ".eggs", + "doc" +] +# E402: module level import not at top of file +# E501: line too long - let black worry about that +# E731: do not assign a lambda expression, use a def +ignore = [ + "E203", + "E402", + "E501", + "E731" +] +select = [ + # Pyflakes + "F", + # Pycodestyle + "E", + "W", + # isort + "I", + # Pyupgrade + "UP" +] + +[tool.ruff.isort] +known-first-party = ["mdf_reader"] +known-third-party = [ + "matplotlib", + "numpy", + "pandas", + "pkg_resources", + "pytest", + "setuptools", + "sphinx_autosummary_accessors" +] + +[tool.setuptools] +packages = ["mdf_reader"] + +[tool.setuptools.dynamic] +dependencies = {file = "ci/requirements/requirements.txt"} + +[tool.setuptools_scm] +fallback_version = "999" +write_to = "mdf_reader/_version.py" +write_to_template = '__version__ = "{version}"' +tag_regex = "^(?Pv)?(?P[^\\+]+)(?P.*)?$"