From a904349d30ea5be780dfbd50146598956ba591d7 Mon Sep 17 00:00:00 2001 From: Marcus Fredriksson Date: Tue, 4 Feb 2025 22:17:59 +0100 Subject: [PATCH] Fixed package issues, added links to project in pyproject and readded errors to default exports --- pyproject.toml | 9 +++++++-- tomlval/__init__.py | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 59a3a9c..3e27b9d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "tomlval" -version = "1.0.1" +version = "1.0.2" description = "A simple and easy to use TOML validator for Python." authors = [ { name = "Marcus Fredriksson", email = "marcus@marcusfredriksson.com" }, @@ -31,7 +31,7 @@ requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta" [tool.setuptools] -packages = ["tomlval"] +packages = ["tomlval", "tomlval.errors", "tomlval.types", "tomlval.utils"] [tool.black] line-length = 80 @@ -40,3 +40,8 @@ target-version = ['py311'] [tool.isort] profile = "black" line_length = 80 + +[project.urls] +Homepage = "https://github.com/marcusfrdk/tomlval" +Repository = "https://github.com/marcusfrdk/tomlval" +Issues = "https://github.com/marcusfrdk/tomlval/issues" diff --git a/tomlval/__init__.py b/tomlval/__init__.py index e070a6e..8855a91 100644 --- a/tomlval/__init__.py +++ b/tomlval/__init__.py @@ -1,4 +1,5 @@ """ toml_parser package """ +from .errors import * from .toml_schema import TOMLSchema from .toml_validator import TOMLValidator