tox-envfile 0.0.6__tar.gz → 0.0.8__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.
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/.cookiecutter/cookiecutter.json +1 -1
- tox_envfile-0.0.8/.cookiecutter/includes/pyproject.toml/dependencies +1 -0
- tox_envfile-0.0.8/.cookiecutter/includes/pyproject.toml/tail +2 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/.github/workflows/ci.yml +8 -6
- tox_envfile-0.0.8/.github/workflows/keepalive.yml +23 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/.gitignore +2 -1
- tox_envfile-0.0.8/.python-version +4 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/Makefile +2 -12
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/PKG-INFO +6 -6
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/README.md +1 -1
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/bin/make_python +1 -1
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/pyproject.toml +33 -7
- tox_envfile-0.0.8/setup.cfg +15 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/src/tox_envfile.egg-info/PKG-INFO +6 -6
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/src/tox_envfile.egg-info/SOURCES.txt +3 -2
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/tox.ini +1 -1
- tox_envfile-0.0.6/.cookiecutter/includes/setuptools/entry_points +0 -2
- tox_envfile-0.0.6/.cookiecutter/includes/setuptools/install_requires +0 -1
- tox_envfile-0.0.6/.python-version +0 -5
- tox_envfile-0.0.6/setup.cfg +0 -44
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/.cookiecutter/includes/README/head.md +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/.cookiecutter/includes/README/tail.md +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/.cookiecutter/includes/tox/deps +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/.github/dependabot.yml +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/.github/workflows/pypi.yml +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/.github/workflows/slack.yml +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/LICENSE +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/bin/make_template +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/src/tox_envfile/__init__.py +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/src/tox_envfile/plugin.py +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/src/tox_envfile.egg-info/dependency_links.txt +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/src/tox_envfile.egg-info/entry_points.txt +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/src/tox_envfile.egg-info/requires.txt +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/src/tox_envfile.egg-info/top_level.txt +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/tests/__init__.py +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/tests/functional/__init__.py +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/tests/functional/sanity_test.py +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/tests/pyproject.toml +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/tests/unit/__init__.py +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/tests/unit/tox_envfile/__init__.py +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.8}/tests/unit/tox_envfile/plugin_test.py +0 -0
@@ -10,7 +10,7 @@
|
|
10
10
|
"package_name": "tox_envfile",
|
11
11
|
"slug": "tox-envfile",
|
12
12
|
"short_description": "Load env files in your tox envs.",
|
13
|
-
"python_versions": "3.12.
|
13
|
+
"python_versions": "3.12.7, 3.11.10, 3.10.15, 3.9.20",
|
14
14
|
"github_owner": "hypothesis",
|
15
15
|
"copyright_holder": "Hypothesis",
|
16
16
|
"public": "yes",
|
@@ -0,0 +1 @@
|
|
1
|
+
"python-dotenv",
|
@@ -49,7 +49,7 @@ jobs:
|
|
49
49
|
runs-on: ubuntu-latest
|
50
50
|
strategy:
|
51
51
|
matrix:
|
52
|
-
python-version: ['3.12', '3.11', '3.10', '3.9'
|
52
|
+
python-version: ['3.12', '3.11', '3.10', '3.9']
|
53
53
|
name: Unit tests with Python ${{ matrix.python-version }}
|
54
54
|
steps:
|
55
55
|
- uses: actions/checkout@v3
|
@@ -62,10 +62,11 @@ jobs:
|
|
62
62
|
env:
|
63
63
|
COVERAGE_FILE: .coverage.${{ matrix.python-version }}
|
64
64
|
- name: Upload coverage file
|
65
|
-
uses: actions/upload-artifact@
|
65
|
+
uses: actions/upload-artifact@v4
|
66
66
|
with:
|
67
|
-
name: coverage
|
67
|
+
name: coverage-python${{ matrix.python-version}}
|
68
68
|
path: .coverage.*
|
69
|
+
include-hidden-files: true
|
69
70
|
Coverage:
|
70
71
|
needs: tests
|
71
72
|
runs-on: ubuntu-latest
|
@@ -76,16 +77,17 @@ jobs:
|
|
76
77
|
with:
|
77
78
|
python-version: '3.12'
|
78
79
|
- name: Download coverage files
|
79
|
-
uses: actions/download-artifact@
|
80
|
+
uses: actions/download-artifact@v4
|
80
81
|
with:
|
81
|
-
|
82
|
+
pattern: coverage-python*
|
83
|
+
merge-multiple: true
|
82
84
|
- run: python -m pip install 'tox<4'
|
83
85
|
- run: tox -e coverage
|
84
86
|
Functests:
|
85
87
|
runs-on: ubuntu-latest
|
86
88
|
strategy:
|
87
89
|
matrix:
|
88
|
-
python-version: ['3.12', '3.11', '3.10', '3.9'
|
90
|
+
python-version: ['3.12', '3.11', '3.10', '3.9']
|
89
91
|
name: Functional tests with Python ${{ matrix.python-version }}
|
90
92
|
steps:
|
91
93
|
- uses: actions/checkout@v3
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Prevent scheduled workflows from being disabled due to inactivity.
|
2
|
+
#
|
3
|
+
# GitHub disables scheduled workflows after 60 days of repo inactivity:
|
4
|
+
#
|
5
|
+
# > Warning: To prevent unnecessary workflow runs, scheduled workflows may be
|
6
|
+
# > disabled automatically.
|
7
|
+
# > ... In a public repository, scheduled workflows are automatically disabled
|
8
|
+
# > when no repository activity has occurred in 60 days.
|
9
|
+
#
|
10
|
+
# https://docs.github.com/en/actions/using-workflows/disabling-and-enabling-a-workflow
|
11
|
+
#
|
12
|
+
# This keep-alive workflow triggers whenever one of the scheduled workflows
|
13
|
+
# listed below completes and prevents that scheduled workflow from being
|
14
|
+
# disabled.
|
15
|
+
name: Keepalive
|
16
|
+
on:
|
17
|
+
workflow_run:
|
18
|
+
workflows: [CI]
|
19
|
+
types: [completed]
|
20
|
+
branches: [main]
|
21
|
+
jobs:
|
22
|
+
Keepalive:
|
23
|
+
uses: hypothesis/workflows/.github/workflows/keepalive.yml@main
|
@@ -53,15 +53,10 @@ $(call help,make test-py39,"run the unit tests in Python 3.9")
|
|
53
53
|
test-py39: python
|
54
54
|
@pyenv exec tox -qe py39-tests
|
55
55
|
|
56
|
-
.PHONY: test-py38
|
57
|
-
$(call help,make test-py38,"run the unit tests in Python 3.8")
|
58
|
-
test-py38: python
|
59
|
-
@pyenv exec tox -qe py38-tests
|
60
|
-
|
61
56
|
.PHONY: coverage
|
62
57
|
$(call help,make coverage,"run the tests and print the coverage report")
|
63
58
|
coverage: python
|
64
|
-
@pyenv exec tox --parallel -qe 'tests,py{311,310,39
|
59
|
+
@pyenv exec tox --parallel -qe 'tests,py{311,310,39}-tests,coverage'
|
65
60
|
|
66
61
|
.PHONY: functests
|
67
62
|
$(call help,make functests,"run the functional tests in Python 3.12")
|
@@ -83,16 +78,11 @@ $(call help,make functests-py39,"run the functional tests in Python 3.9")
|
|
83
78
|
functests-py39: python
|
84
79
|
@pyenv exec tox -qe py39-functests
|
85
80
|
|
86
|
-
.PHONY: functests-py38
|
87
|
-
$(call help,make functests-py38,"run the functional tests in Python 3.8")
|
88
|
-
functests-py38: python
|
89
|
-
@pyenv exec tox -qe py38-functests
|
90
|
-
|
91
81
|
.PHONY: sure
|
92
82
|
$(call help,make sure,"make sure that the formatting$(comma) linting and tests all pass")
|
93
83
|
sure: python
|
94
84
|
sure:
|
95
|
-
@pyenv exec tox --parallel -qe 'checkformatting,lint,typecheck,tests,py{311,310,39
|
85
|
+
@pyenv exec tox --parallel -qe 'checkformatting,lint,typecheck,tests,py{311,310,39}-tests,coverage,functests,py{311,310,39}-functests'
|
96
86
|
|
97
87
|
.PHONY: template
|
98
88
|
$(call help,make template,"update from the latest cookiecutter template")
|
@@ -1,21 +1,21 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: tox-envfile
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.8
|
4
4
|
Summary: Load env files in your tox envs.
|
5
|
-
|
6
|
-
Project-URL:
|
5
|
+
Project-URL: Repository, https://github.com/hypothesis/tox-envfile
|
6
|
+
Project-URL: Issues, https://github.com/hypothesis/tox-envfile/issues
|
7
7
|
Project-URL: Changelog, https://github.com/hypothesis/tox-envfile/releases
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
9
9
|
Classifier: License :: OSI Approved :: BSD License
|
10
10
|
Classifier: Intended Audience :: Developers
|
11
|
-
Requires-Python: >=3.
|
11
|
+
Requires-Python: >=3.9
|
12
12
|
Description-Content-Type: text/markdown
|
13
13
|
License-File: LICENSE
|
14
14
|
Requires-Dist: python-dotenv
|
15
15
|
|
16
16
|
<a href="https://github.com/hypothesis/tox-envfile/actions/workflows/ci.yml?query=branch%3Amain"><img src="https://img.shields.io/github/actions/workflow/status/hypothesis/tox-envfile/ci.yml?branch=main"></a>
|
17
17
|
<a href="https://pypi.org/project/tox-envfile"><img src="https://img.shields.io/pypi/v/tox-envfile"></a>
|
18
|
-
<a><img src="https://img.shields.io/badge/python-3.12 | 3.11 | 3.10 | 3.9
|
18
|
+
<a><img src="https://img.shields.io/badge/python-3.12 | 3.11 | 3.10 | 3.9-success"></a>
|
19
19
|
<a href="https://github.com/hypothesis/tox-envfile/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-BSD--2--Clause-success"></a>
|
20
20
|
<a href="https://github.com/hypothesis/cookiecutters/tree/main/pypackage"><img src="https://img.shields.io/badge/cookiecutter-pypackage-success"></a>
|
21
21
|
<a href="https://black.readthedocs.io/en/stable/"><img src="https://img.shields.io/badge/code%20style-black-000000"></a>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<a href="https://github.com/hypothesis/tox-envfile/actions/workflows/ci.yml?query=branch%3Amain"><img src="https://img.shields.io/github/actions/workflow/status/hypothesis/tox-envfile/ci.yml?branch=main"></a>
|
2
2
|
<a href="https://pypi.org/project/tox-envfile"><img src="https://img.shields.io/pypi/v/tox-envfile"></a>
|
3
|
-
<a><img src="https://img.shields.io/badge/python-3.12 | 3.11 | 3.10 | 3.9
|
3
|
+
<a><img src="https://img.shields.io/badge/python-3.12 | 3.11 | 3.10 | 3.9-success"></a>
|
4
4
|
<a href="https://github.com/hypothesis/tox-envfile/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-BSD--2--Clause-success"></a>
|
5
5
|
<a href="https://github.com/hypothesis/cookiecutters/tree/main/pypackage"><img src="https://img.shields.io/badge/cookiecutter-pypackage-success"></a>
|
6
6
|
<a href="https://black.readthedocs.io/en/stable/"><img src="https://img.shields.io/badge/code%20style-black-000000"></a>
|
@@ -8,7 +8,7 @@ if [ -n "${CI+x}" ]; then exit; fi
|
|
8
8
|
|
9
9
|
pyenv_root=$(pyenv root)
|
10
10
|
|
11
|
-
for python_version in 3.12.
|
11
|
+
for python_version in 3.12.7 3.11.10 3.10.15 3.9.20; do
|
12
12
|
bin_dir=$pyenv_root/versions/$python_version/bin
|
13
13
|
if [ ! -f "$bin_dir"/tox ]; then
|
14
14
|
pyenv install --skip-existing "$python_version"
|
@@ -2,8 +2,31 @@
|
|
2
2
|
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
|
3
3
|
build-backend = "setuptools.build_meta"
|
4
4
|
|
5
|
+
[project]
|
6
|
+
dynamic = ["version"]
|
7
|
+
name = "tox-envfile"
|
8
|
+
description = "Load env files in your tox envs."
|
9
|
+
readme = "README.md"
|
10
|
+
classifiers = [
|
11
|
+
"Programming Language :: Python :: 3",
|
12
|
+
"License :: OSI Approved :: BSD License",
|
13
|
+
"Intended Audience :: Developers",
|
14
|
+
]
|
15
|
+
requires-python = ">=3.9"
|
16
|
+
dependencies = [
|
17
|
+
"python-dotenv",
|
18
|
+
]
|
19
|
+
|
20
|
+
[project.urls]
|
21
|
+
Repository = "https://github.com/hypothesis/tox-envfile"
|
22
|
+
Issues = "https://github.com/hypothesis/tox-envfile/issues"
|
23
|
+
Changelog = "https://github.com/hypothesis/tox-envfile/releases"
|
5
24
|
[tool.setuptools_scm]
|
6
25
|
|
26
|
+
|
27
|
+
[project.entry-points.tox]
|
28
|
+
tox-envfile = "tox_envfile"
|
29
|
+
|
7
30
|
[tool.pytest.ini_options]
|
8
31
|
addopts = "-q"
|
9
32
|
filterwarnings = [
|
@@ -14,6 +37,7 @@ filterwarnings = [
|
|
14
37
|
"ignore:^pkg_resources is deprecated as an API:DeprecationWarning:pyramid",
|
15
38
|
"ignore:^Deprecated call to .pkg_resources\\.declare_namespace\\('.*'\\).\\.:DeprecationWarning:pkg_resources",
|
16
39
|
"ignore:^'cgi' is deprecated and slated for removal in Python 3\\.13$:DeprecationWarning:webob",
|
40
|
+
"ignore:^datetime\\.datetime\\.utcnow\\(\\) is deprecated and scheduled for removal in a future version\\.:DeprecationWarning",
|
17
41
|
]
|
18
42
|
|
19
43
|
[tool.pydocstyle]
|
@@ -59,6 +83,10 @@ show_missing = true
|
|
59
83
|
precision = 2
|
60
84
|
fail_under = 100.00
|
61
85
|
skip_covered = true
|
86
|
+
exclude_also = [
|
87
|
+
# `if TYPE_CHECKING:` blocks are only executed while running mypy.
|
88
|
+
"if TYPE_CHECKING:",
|
89
|
+
]
|
62
90
|
|
63
91
|
[tool.isort]
|
64
92
|
multi_line_output = 3
|
@@ -140,6 +168,9 @@ output-format = "colorized"
|
|
140
168
|
score = "no"
|
141
169
|
|
142
170
|
[tool.mypy]
|
171
|
+
allow_untyped_globals = true
|
172
|
+
error_summary = false
|
173
|
+
pretty = true
|
143
174
|
warn_unused_configs = true
|
144
175
|
warn_redundant_casts = true
|
145
176
|
warn_unused_ignores = true
|
@@ -150,13 +181,8 @@ disable_error_code = [
|
|
150
181
|
]
|
151
182
|
|
152
183
|
[[tool.mypy.overrides]]
|
153
|
-
module= [
|
154
|
-
# Don't try to typecheck the tests for now
|
184
|
+
module = [
|
185
|
+
# Don't try to typecheck the tests for now.
|
155
186
|
"tests.*",
|
156
187
|
]
|
157
188
|
ignore_errors = true
|
158
|
-
|
159
|
-
|
160
|
-
[tool.hdev]
|
161
|
-
project_name = "tox-envfile"
|
162
|
-
project_type = "library"
|
@@ -1,21 +1,21 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: tox-envfile
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.8
|
4
4
|
Summary: Load env files in your tox envs.
|
5
|
-
|
6
|
-
Project-URL:
|
5
|
+
Project-URL: Repository, https://github.com/hypothesis/tox-envfile
|
6
|
+
Project-URL: Issues, https://github.com/hypothesis/tox-envfile/issues
|
7
7
|
Project-URL: Changelog, https://github.com/hypothesis/tox-envfile/releases
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
9
9
|
Classifier: License :: OSI Approved :: BSD License
|
10
10
|
Classifier: Intended Audience :: Developers
|
11
|
-
Requires-Python: >=3.
|
11
|
+
Requires-Python: >=3.9
|
12
12
|
Description-Content-Type: text/markdown
|
13
13
|
License-File: LICENSE
|
14
14
|
Requires-Dist: python-dotenv
|
15
15
|
|
16
16
|
<a href="https://github.com/hypothesis/tox-envfile/actions/workflows/ci.yml?query=branch%3Amain"><img src="https://img.shields.io/github/actions/workflow/status/hypothesis/tox-envfile/ci.yml?branch=main"></a>
|
17
17
|
<a href="https://pypi.org/project/tox-envfile"><img src="https://img.shields.io/pypi/v/tox-envfile"></a>
|
18
|
-
<a><img src="https://img.shields.io/badge/python-3.12 | 3.11 | 3.10 | 3.9
|
18
|
+
<a><img src="https://img.shields.io/badge/python-3.12 | 3.11 | 3.10 | 3.9-success"></a>
|
19
19
|
<a href="https://github.com/hypothesis/tox-envfile/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-BSD--2--Clause-success"></a>
|
20
20
|
<a href="https://github.com/hypothesis/cookiecutters/tree/main/pypackage"><img src="https://img.shields.io/badge/cookiecutter-pypackage-success"></a>
|
21
21
|
<a href="https://black.readthedocs.io/en/stable/"><img src="https://img.shields.io/badge/code%20style-black-000000"></a>
|
@@ -9,11 +9,12 @@ tox.ini
|
|
9
9
|
.cookiecutter/cookiecutter.json
|
10
10
|
.cookiecutter/includes/README/head.md
|
11
11
|
.cookiecutter/includes/README/tail.md
|
12
|
-
.cookiecutter/includes/
|
13
|
-
.cookiecutter/includes/
|
12
|
+
.cookiecutter/includes/pyproject.toml/dependencies
|
13
|
+
.cookiecutter/includes/pyproject.toml/tail
|
14
14
|
.cookiecutter/includes/tox/deps
|
15
15
|
.github/dependabot.yml
|
16
16
|
.github/workflows/ci.yml
|
17
|
+
.github/workflows/keepalive.yml
|
17
18
|
.github/workflows/pypi.yml
|
18
19
|
.github/workflows/slack.yml
|
19
20
|
bin/make_python
|
@@ -1 +0,0 @@
|
|
1
|
-
python-dotenv
|
tox_envfile-0.0.6/setup.cfg
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
[metadata]
|
2
|
-
name = tox-envfile
|
3
|
-
description = Load env files in your tox envs.
|
4
|
-
long_description = file: README.md
|
5
|
-
long_description_content_type = text/markdown
|
6
|
-
url = https://github.com/hypothesis/tox-envfile
|
7
|
-
project_urls =
|
8
|
-
Bug Tracker = https://github.com/hypothesis/tox-envfile/issues
|
9
|
-
Changelog = https://github.com/hypothesis/tox-envfile/releases
|
10
|
-
classifiers =
|
11
|
-
Programming Language :: Python :: 3
|
12
|
-
License :: OSI Approved :: BSD License
|
13
|
-
Intended Audience :: Developers
|
14
|
-
|
15
|
-
[options]
|
16
|
-
package_dir =
|
17
|
-
= src
|
18
|
-
packages = find:
|
19
|
-
python_requires = >=3.8
|
20
|
-
install_requires =
|
21
|
-
python-dotenv
|
22
|
-
|
23
|
-
[options.packages.find]
|
24
|
-
where = src
|
25
|
-
|
26
|
-
[options.entry_points]
|
27
|
-
tox =
|
28
|
-
tox-envfile = tox_envfile
|
29
|
-
|
30
|
-
[pycodestyle]
|
31
|
-
ignore =
|
32
|
-
E203, # Whitespace before ':',
|
33
|
-
E231, # Missing whitespace after ',',
|
34
|
-
E501, # Line too long,
|
35
|
-
W503, # Line break before binary operator,
|
36
|
-
|
37
|
-
E711,
|
38
|
-
|
39
|
-
E722,
|
40
|
-
|
41
|
-
[egg_info]
|
42
|
-
tag_build =
|
43
|
-
tag_date = 0
|
44
|
-
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|