tox-envfile 0.0.6__tar.gz → 0.0.7__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/.cookiecutter/cookiecutter.json +1 -1
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/.github/workflows/ci.yml +8 -6
- tox_envfile-0.0.7/.github/workflows/keepalive.yml +23 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/.gitignore +1 -0
- tox_envfile-0.0.7/.python-version +4 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/Makefile +2 -12
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/PKG-INFO +4 -4
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/README.md +1 -1
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/bin/make_python +1 -1
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/pyproject.toml +4 -5
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/setup.cfg +1 -1
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/src/tox_envfile.egg-info/PKG-INFO +4 -4
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/src/tox_envfile.egg-info/SOURCES.txt +1 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/tox.ini +1 -1
- tox_envfile-0.0.6/.python-version +0 -5
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/.cookiecutter/includes/README/head.md +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/.cookiecutter/includes/README/tail.md +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/.cookiecutter/includes/setuptools/entry_points +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/.cookiecutter/includes/setuptools/install_requires +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/.cookiecutter/includes/tox/deps +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/.github/dependabot.yml +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/.github/workflows/pypi.yml +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/.github/workflows/slack.yml +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/LICENSE +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/bin/make_template +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/src/tox_envfile/__init__.py +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/src/tox_envfile/plugin.py +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/src/tox_envfile.egg-info/dependency_links.txt +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/src/tox_envfile.egg-info/entry_points.txt +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/src/tox_envfile.egg-info/requires.txt +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/src/tox_envfile.egg-info/top_level.txt +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/tests/__init__.py +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/tests/functional/__init__.py +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/tests/functional/sanity_test.py +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/tests/pyproject.toml +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/tests/unit/__init__.py +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/tests/unit/tox_envfile/__init__.py +0 -0
- {tox_envfile-0.0.6 → tox_envfile-0.0.7}/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",
|
@@ -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,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: tox-envfile
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.7
|
4
4
|
Summary: Load env files in your tox envs.
|
5
5
|
Home-page: https://github.com/hypothesis/tox-envfile
|
6
6
|
Project-URL: Bug Tracker, https://github.com/hypothesis/tox-envfile/issues
|
@@ -8,14 +8,14 @@ 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"
|
@@ -14,6 +14,7 @@ filterwarnings = [
|
|
14
14
|
"ignore:^pkg_resources is deprecated as an API:DeprecationWarning:pyramid",
|
15
15
|
"ignore:^Deprecated call to .pkg_resources\\.declare_namespace\\('.*'\\).\\.:DeprecationWarning:pkg_resources",
|
16
16
|
"ignore:^'cgi' is deprecated and slated for removal in Python 3\\.13$:DeprecationWarning:webob",
|
17
|
+
"ignore:^datetime\\.datetime\\.utcnow\\(\\) is deprecated and scheduled for removal in a future version\\.:DeprecationWarning",
|
17
18
|
]
|
18
19
|
|
19
20
|
[tool.pydocstyle]
|
@@ -140,6 +141,9 @@ output-format = "colorized"
|
|
140
141
|
score = "no"
|
141
142
|
|
142
143
|
[tool.mypy]
|
144
|
+
allow_untyped_globals = true
|
145
|
+
error_summary = false
|
146
|
+
pretty = true
|
143
147
|
warn_unused_configs = true
|
144
148
|
warn_redundant_casts = true
|
145
149
|
warn_unused_ignores = true
|
@@ -155,8 +159,3 @@ module= [
|
|
155
159
|
"tests.*",
|
156
160
|
]
|
157
161
|
ignore_errors = true
|
158
|
-
|
159
|
-
|
160
|
-
[tool.hdev]
|
161
|
-
project_name = "tox-envfile"
|
162
|
-
project_type = "library"
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: tox-envfile
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.7
|
4
4
|
Summary: Load env files in your tox envs.
|
5
5
|
Home-page: https://github.com/hypothesis/tox-envfile
|
6
6
|
Project-URL: Bug Tracker, https://github.com/hypothesis/tox-envfile/issues
|
@@ -8,14 +8,14 @@ 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>
|
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
|
File without changes
|
File without changes
|