envbool 0.4.0__tar.gz → 0.4.1__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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: envbool
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: A small Python library and CLI tool for coercing environment variables (and arbitrary strings) into boolean values.
5
5
  Keywords: environment variables,boolean,configuration,env,coerce
6
6
  Author: Kyle O'Malley
@@ -22,7 +22,7 @@ Requires-Python: >=3.11
22
22
  Project-URL: Homepage, https://github.com/jkomalley/envbool
23
23
  Project-URL: Repository, https://github.com/jkomalley/envbool
24
24
  Project-URL: Issues, https://github.com/jkomalley/envbool/issues
25
- Project-URL: Changelog, https://github.com/jkomalley/envbool/releases
25
+ Project-URL: Changelog, https://github.com/jkomalley/envbool/blob/main/CHANGELOG.md
26
26
  Description-Content-Type: text/markdown
27
27
 
28
28
  <div align="center">
@@ -0,0 +1,121 @@
1
+ [project]
2
+ name = "envbool"
3
+ version = "0.4.1"
4
+ description = "A small Python library and CLI tool for coercing environment variables (and arbitrary strings) into boolean values."
5
+ readme = "README.md"
6
+ requires-python = ">=3.11"
7
+ license = "MIT"
8
+ keywords = [
9
+ "environment variables",
10
+ "boolean",
11
+ "configuration",
12
+ "env",
13
+ "coerce",
14
+ ]
15
+ dependencies = []
16
+ classifiers = [
17
+ "Development Status :: 4 - Beta",
18
+ "Intended Audience :: Developers",
19
+ "Topic :: Software Development :: Libraries :: Python Modules",
20
+ "Topic :: Utilities",
21
+ "Environment :: Console",
22
+ "Operating System :: OS Independent",
23
+ "Programming Language :: Python :: 3",
24
+ "Programming Language :: Python :: 3.11",
25
+ "Programming Language :: Python :: 3.12",
26
+ "Programming Language :: Python :: 3.13",
27
+ "Programming Language :: Python :: 3.14",
28
+ "Typing :: Typed",
29
+ ]
30
+
31
+ [[project.authors]]
32
+ name = "Kyle O'Malley"
33
+ email = "j.kyle.omalley@gmail.com"
34
+
35
+ [project.urls]
36
+ Homepage = "https://github.com/jkomalley/envbool"
37
+ Repository = "https://github.com/jkomalley/envbool"
38
+ Issues = "https://github.com/jkomalley/envbool/issues"
39
+ Changelog = "https://github.com/jkomalley/envbool/blob/main/CHANGELOG.md"
40
+
41
+ [project.scripts]
42
+ envbool = "envbool._cli:main"
43
+
44
+ [build-system]
45
+ requires = ["uv_build>=0.12.0,<0.13.0"]
46
+ build-backend = "uv_build"
47
+
48
+ [dependency-groups]
49
+ dev = [
50
+ "hypothesis>=6.155.5",
51
+ "pre-commit>=4.5.1",
52
+ "pytest>=9.0.3",
53
+ "pytest-cov>=7.1.0",
54
+ "ruff>=0.15.10",
55
+ "ty>=0.0.29",
56
+ ]
57
+
58
+ [tool.ruff]
59
+ target-version = "py311"
60
+ line-length = 88
61
+
62
+ [tool.ruff.lint]
63
+ select = ["ALL"]
64
+ ignore = [
65
+ "D203",
66
+ "D213",
67
+ "D100",
68
+ "D104",
69
+ "D107",
70
+ "ANN401",
71
+ "COM812",
72
+ "ISC001",
73
+ "FIX002",
74
+ "TD002",
75
+ "TD003",
76
+ "ERA001",
77
+ "TRY003",
78
+ "EM101",
79
+ "EM102",
80
+ "S101",
81
+ "PLR2004",
82
+ "PLR0913",
83
+ "CPY001",
84
+ ]
85
+
86
+ [tool.ruff.lint.pydocstyle]
87
+ convention = "google"
88
+
89
+ [tool.ruff.lint.per-file-ignores]
90
+ "tests/**/*.py" = [
91
+ "D",
92
+ "ANN",
93
+ "SLF001",
94
+ ]
95
+ "src/envbool/_cli.py" = ["T201"]
96
+
97
+ [tool.ty.rules]
98
+ possibly-missing-import = "warn"
99
+
100
+ [tool.pytest.ini_options]
101
+ testpaths = ["tests"]
102
+ addopts = [
103
+ "-ra",
104
+ "--strict-markers",
105
+ "--strict-config",
106
+ "--cov",
107
+ "--cov-fail-under=100",
108
+ ]
109
+
110
+ [tool.coverage.run]
111
+ source = ["envbool"]
112
+ branch = true
113
+
114
+ [tool.coverage.report]
115
+ show_missing = true
116
+ skip_empty = true
117
+ exclude_lines = [
118
+ "pragma: no cover",
119
+ "if TYPE_CHECKING:",
120
+ "if __name__ == .__main__.",
121
+ ]
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "envbool"
3
- version = "0.4.0"
3
+ version = "0.4.1"
4
4
  description = "A small Python library and CLI tool for coercing environment variables (and arbitrary strings) into boolean values."
5
5
  readme = "README.md"
6
6
  authors = [{ name = "Kyle O'Malley", email = "j.kyle.omalley@gmail.com" }]
@@ -27,13 +27,13 @@ classifiers = [
27
27
  Homepage = "https://github.com/jkomalley/envbool"
28
28
  Repository = "https://github.com/jkomalley/envbool"
29
29
  Issues = "https://github.com/jkomalley/envbool/issues"
30
- Changelog = "https://github.com/jkomalley/envbool/releases"
30
+ Changelog = "https://github.com/jkomalley/envbool/blob/main/CHANGELOG.md"
31
31
 
32
32
  [project.scripts]
33
33
  envbool = "envbool._cli:main"
34
34
 
35
35
  [build-system]
36
- requires = ["uv_build>=0.11.0,<0.12.0"]
36
+ requires = ["uv_build>=0.12.0,<0.13.0"]
37
37
  build-backend = "uv_build"
38
38
 
39
39
  [dependency-groups]
@@ -110,6 +110,11 @@ addopts = [
110
110
  "-ra",
111
111
  "--strict-markers",
112
112
  "--strict-config",
113
+ # Coverage policy lives here, not in the CI step, so the CI `check` job
114
+ # stays byte-identical across repos. `--cov` bare is enough because
115
+ # [tool.coverage.run] sets source below.
116
+ "--cov",
117
+ "--cov-fail-under=100",
113
118
  ]
114
119
 
115
120
  # --------------------------------------------------------------------------- #
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes