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.
Files changed (41) hide show
  1. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/.cookiecutter/cookiecutter.json +1 -1
  2. tox_envfile-0.0.8/.cookiecutter/includes/pyproject.toml/dependencies +1 -0
  3. tox_envfile-0.0.8/.cookiecutter/includes/pyproject.toml/tail +2 -0
  4. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/.github/workflows/ci.yml +8 -6
  5. tox_envfile-0.0.8/.github/workflows/keepalive.yml +23 -0
  6. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/.gitignore +2 -1
  7. tox_envfile-0.0.8/.python-version +4 -0
  8. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/Makefile +2 -12
  9. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/PKG-INFO +6 -6
  10. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/README.md +1 -1
  11. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/bin/make_python +1 -1
  12. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/pyproject.toml +33 -7
  13. tox_envfile-0.0.8/setup.cfg +15 -0
  14. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/src/tox_envfile.egg-info/PKG-INFO +6 -6
  15. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/src/tox_envfile.egg-info/SOURCES.txt +3 -2
  16. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/tox.ini +1 -1
  17. tox_envfile-0.0.6/.cookiecutter/includes/setuptools/entry_points +0 -2
  18. tox_envfile-0.0.6/.cookiecutter/includes/setuptools/install_requires +0 -1
  19. tox_envfile-0.0.6/.python-version +0 -5
  20. tox_envfile-0.0.6/setup.cfg +0 -44
  21. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/.cookiecutter/includes/README/head.md +0 -0
  22. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/.cookiecutter/includes/README/tail.md +0 -0
  23. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/.cookiecutter/includes/tox/deps +0 -0
  24. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/.github/dependabot.yml +0 -0
  25. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/.github/workflows/pypi.yml +0 -0
  26. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/.github/workflows/slack.yml +0 -0
  27. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/LICENSE +0 -0
  28. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/bin/make_template +0 -0
  29. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/src/tox_envfile/__init__.py +0 -0
  30. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/src/tox_envfile/plugin.py +0 -0
  31. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/src/tox_envfile.egg-info/dependency_links.txt +0 -0
  32. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/src/tox_envfile.egg-info/entry_points.txt +0 -0
  33. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/src/tox_envfile.egg-info/requires.txt +0 -0
  34. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/src/tox_envfile.egg-info/top_level.txt +0 -0
  35. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/tests/__init__.py +0 -0
  36. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/tests/functional/__init__.py +0 -0
  37. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/tests/functional/sanity_test.py +0 -0
  38. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/tests/pyproject.toml +0 -0
  39. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/tests/unit/__init__.py +0 -0
  40. {tox_envfile-0.0.6 → tox_envfile-0.0.8}/tests/unit/tox_envfile/__init__.py +0 -0
  41. {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.4, 3.11.9, 3.10.14, 3.9.19, 3.8.19",
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,2 @@
1
+ [project.entry-points.tox]
2
+ tox-envfile = "tox_envfile"
@@ -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', '3.8']
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@v3
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@v3
80
+ uses: actions/download-artifact@v4
80
81
  with:
81
- name: coverage
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', '3.8']
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
@@ -1,4 +1,4 @@
1
- build
1
+ /build
2
2
  coverage
3
3
  node_modules
4
4
  yarn-error.log
@@ -11,3 +11,4 @@ supervisord.pid
11
11
  .DS_Store
12
12
  .devdata*
13
13
  .eslintcache
14
+ *.tsbuildinfo
@@ -0,0 +1,4 @@
1
+ 3.12.7
2
+ 3.11.10
3
+ 3.10.15
4
+ 3.9.20
@@ -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,38}-tests,coverage'
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,38}-tests,coverage,functests,py{311,310,39,38}-functests'
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
1
+ Metadata-Version: 2.2
2
2
  Name: tox-envfile
3
- Version: 0.0.6
3
+ Version: 0.0.8
4
4
  Summary: Load env files in your tox envs.
5
- Home-page: https://github.com/hypothesis/tox-envfile
6
- Project-URL: Bug Tracker, https://github.com/hypothesis/tox-envfile/issues
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.8
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 | 3.8-success"></a>
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.8-success"></a>
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.4 3.11.9 3.10.14 3.9.19 3.8.19; do
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"
@@ -0,0 +1,15 @@
1
+ [pycodestyle]
2
+ ignore =
3
+ E203, # Whitespace before ':',
4
+ E231, # Missing whitespace after ',',
5
+ E501, # Line too long,
6
+ W503, # Line break before binary operator,
7
+
8
+ E711,
9
+
10
+ E722,
11
+
12
+ [egg_info]
13
+ tag_build =
14
+ tag_date = 0
15
+
@@ -1,21 +1,21 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: tox-envfile
3
- Version: 0.0.6
3
+ Version: 0.0.8
4
4
  Summary: Load env files in your tox envs.
5
- Home-page: https://github.com/hypothesis/tox-envfile
6
- Project-URL: Bug Tracker, https://github.com/hypothesis/tox-envfile/issues
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.8
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 | 3.8-success"></a>
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/setuptools/entry_points
13
- .cookiecutter/includes/setuptools/install_requires
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
@@ -46,7 +46,7 @@ deps =
46
46
  typecheck: mypy
47
47
  pluggy
48
48
  depends =
49
- coverage: tests,py{311,310,39,38}-tests
49
+ coverage: tests,py{311,310,39}-tests
50
50
  commands =
51
51
  dev: {posargs:ipython --classic --no-banner --no-confirm-exit}
52
52
  format: black src tests bin
@@ -1,2 +0,0 @@
1
- tox =
2
- tox-envfile = tox_envfile
@@ -1,5 +0,0 @@
1
- 3.12.4
2
- 3.11.9
3
- 3.10.14
4
- 3.9.19
5
- 3.8.19
@@ -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