dependence 1.0.3__tar.gz → 1.0.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,9 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: dependence
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: A dependency management tool for python projects
5
- Project-URL: Homepage, https://dependence.enorganic.org
5
+ Project-URL: Documentation, https://dependence.enorganic.org
6
+ Project-URL: Repository, https://github.com/enorganic/dependence
6
7
  Author-email: david@belais.me
7
8
  License: MIT
8
9
  Keywords: dependencies,requirements
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
6
6
 
7
7
  [project]
8
8
  name = "dependence"
9
- version = "1.0.3"
9
+ version = "1.0.4"
10
10
  description = "A dependency management tool for python projects"
11
11
  readme = "README.md"
12
12
  license = "MIT"
@@ -31,17 +31,20 @@ dependencies = [
31
31
  dependence = "dependence.__main__:main"
32
32
 
33
33
  [project.urls]
34
- Homepage = "https://dependence.enorganic.org"
34
+ Documentation = "https://dependence.enorganic.org"
35
+ Repository = "https://github.com/enorganic/dependence"
35
36
 
36
37
  [tool.hatch.build.targets.sdist]
37
38
  packages = [
38
39
  "src/dependence",
39
40
  ]
41
+ sources = ["src"]
40
42
 
41
43
  [tool.hatch.build.targets.wheel]
42
44
  packages = [
43
45
  "src/dependence",
44
46
  ]
47
+ sources = ["src"]
45
48
 
46
49
  [tool.hatch.envs.default]
47
50
  python = "3.8"
@@ -50,6 +53,12 @@ dependencies = [
50
53
  "pytest",
51
54
  "ruff",
52
55
  ]
56
+ pre-install-commands = [
57
+ "pip install --upgrade pip setuptools",
58
+ ]
59
+ post-install-commands = [
60
+ "hatch run mypy --install-types --non-interactive || echo",
61
+ ]
53
62
 
54
63
  [tool.hatch.envs.default.scripts]
55
64
  lint = "ruff check . && ruff format --check . && mypy"
@@ -58,6 +67,7 @@ lint = "ruff check . && ruff format --check . && mypy"
58
67
  PIP_CONSTRAINT = "default_requirements.txt"
59
68
 
60
69
  [tool.hatch.envs.docs]
70
+ template = "docs"
61
71
  python = "3.13"
62
72
  dependencies = [
63
73
  "mkdocs-material",
@@ -68,16 +78,16 @@ dependencies = [
68
78
  [tool.hatch.envs.docs.env-vars]
69
79
  PIP_CONSTRAINT = "docs_requirements.txt"
70
80
 
71
- [tool.hatch.envs.test]
72
- dependencies = [
73
- "pytest",
74
- ]
81
+ [tool.hatch.envs.hatch-test]
82
+ template = "hatch-test"
83
+ extra-dependencies = []
75
84
 
76
- [tool.hatch.envs.test.env-vars]
77
- PIP_CONSTRAINT = "test_requirements.txt"
78
85
 
79
- [tool.hatch.envs.test.scripts]
80
- test = "py.test"
86
+ [[tool.hatch.envs.hatch-test.matrix]]
87
+ python = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
88
+
89
+ [tool.hatch.envs.hatch-test.env-vars]
90
+ PIP_CONSTRAINT = "test_requirements.txt"
81
91
 
82
92
  [tool.ruff]
83
93
  line-length = 79
@@ -114,3 +124,24 @@ target-version = [
114
124
  "py312",
115
125
  "py313",
116
126
  ]
127
+
128
+ [tool.mypy]
129
+ python_version = "3.8"
130
+ files = [
131
+ "src",
132
+ "tests",
133
+ ]
134
+ exclude = [
135
+ "tests/test_projects",
136
+ ]
137
+ disallow_untyped_defs = true
138
+ disallow_incomplete_defs = true
139
+
140
+ [tool.coverage.run]
141
+ omit = ["tests/test_projects"]
142
+
143
+ [tool.coverage.paths]
144
+ source = ["src/"]
145
+
146
+ [tool.coverage.report]
147
+ fail_under = 80
File without changes
File without changes