edq-utils 0.0.4__tar.gz → 0.0.5__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.

Potentially problematic release.


This version of edq-utils might be problematic. Click here for more details.

Files changed (61) hide show
  1. edq_utils-0.0.5/.github/workflows/main.yml +95 -0
  2. edq_utils-0.0.5/.gitignore +33 -0
  3. edq_utils-0.0.5/.mypy.ini +6 -0
  4. edq_utils-0.0.5/.pylintrc +662 -0
  5. {edq_utils-0.0.4 → edq_utils-0.0.5}/PKG-INFO +1 -1
  6. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/__init__.py +1 -1
  7. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/cli/testing/cli-test.py +5 -1
  8. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/testing/cli.py +90 -28
  9. edq_utils-0.0.5/edq/testing/cli_test.py +15 -0
  10. edq_utils-0.0.5/edq/testing/testdata/cli/tests/platform_skip.txt +5 -0
  11. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/testing/unittest.py +17 -2
  12. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/util/dirent_test.py +43 -32
  13. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq_utils.egg-info/PKG-INFO +1 -1
  14. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq_utils.egg-info/SOURCES.txt +13 -9
  15. {edq_utils-0.0.4 → edq_utils-0.0.5}/pyproject.toml +3 -1
  16. edq_utils-0.0.5/scripts/check_all.sh +50 -0
  17. edq_utils-0.0.5/scripts/check_lint.sh +23 -0
  18. edq_utils-0.0.5/scripts/check_python_version.sh +23 -0
  19. edq_utils-0.0.5/scripts/check_strict_types.sh +23 -0
  20. edq_utils-0.0.5/scripts/check_types.sh +23 -0
  21. edq_utils-0.0.5/scripts/gen_docs.sh +30 -0
  22. edq_utils-0.0.5/scripts/run_tests.sh +18 -0
  23. edq_utils-0.0.4/edq/testing/cli_test.py +0 -8
  24. edq_utils-0.0.4/edq/util/testdata/dirent-operations/a.txt +0 -1
  25. edq_utils-0.0.4/edq/util/testdata/dirent-operations/dir_1/b.txt +0 -1
  26. edq_utils-0.0.4/edq/util/testdata/dirent-operations/dir_1/dir_2/c.txt +0 -1
  27. edq_utils-0.0.4/edq/util/testdata/dirent-operations/file_empty +0 -0
  28. edq_utils-0.0.4/edq/util/testdata/dirent-operations/symlink_a.txt +0 -1
  29. edq_utils-0.0.4/edq/util/testdata/dirent-operations/symlink_dir_1/b.txt +0 -1
  30. edq_utils-0.0.4/edq/util/testdata/dirent-operations/symlink_dir_1/dir_2/c.txt +0 -1
  31. edq_utils-0.0.4/edq/util/testdata/dirent-operations/symlink_file_empty +0 -0
  32. {edq_utils-0.0.4 → edq_utils-0.0.5}/LICENSE +0 -0
  33. {edq_utils-0.0.4 → edq_utils-0.0.5}/README.md +0 -0
  34. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/cli/__init__.py +0 -0
  35. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/cli/testing/__init__.py +0 -0
  36. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/cli/version.py +0 -0
  37. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/core/__init__.py +0 -0
  38. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/core/argparser.py +0 -0
  39. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/core/argparser_test.py +0 -0
  40. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/core/log.py +0 -0
  41. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/core/version.py +0 -0
  42. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/py.typed +0 -0
  43. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/testing/__init__.py +0 -0
  44. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/testing/asserts.py +0 -0
  45. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/testing/run.py +0 -0
  46. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/testing/testdata/cli/tests/version_base.txt +0 -0
  47. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/util/__init__.py +0 -0
  48. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/util/dirent.py +0 -0
  49. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/util/json.py +0 -0
  50. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/util/json_test.py +0 -0
  51. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/util/pyimport.py +0 -0
  52. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/util/pyimport_test.py +0 -0
  53. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/util/reflection.py +0 -0
  54. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/util/time.py +0 -0
  55. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq/util/time_test.py +0 -0
  56. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq_utils.egg-info/dependency_links.txt +0 -0
  57. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq_utils.egg-info/requires.txt +0 -0
  58. {edq_utils-0.0.4 → edq_utils-0.0.5}/edq_utils.egg-info/top_level.txt +0 -0
  59. {edq_utils-0.0.4 → edq_utils-0.0.5}/requirements-dev.txt +0 -0
  60. {edq_utils-0.0.4 → edq_utils-0.0.5}/requirements.txt +0 -0
  61. {edq_utils-0.0.4 → edq_utils-0.0.5}/setup.cfg +0 -0
@@ -0,0 +1,95 @@
1
+ name: Main
2
+
3
+ on:
4
+ - push
5
+ - pull_request
6
+
7
+ jobs:
8
+ test:
9
+ strategy:
10
+ fail-fast: false
11
+ matrix:
12
+ python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
13
+ os: ['ubuntu-22.04', 'ubuntu-24.04', 'macos-13', 'macos-14', 'macos-15', 'windows-2022', 'windows-2025']
14
+
15
+ runs-on: ${{ matrix.os }}
16
+
17
+ steps:
18
+ - name: Checkout
19
+ uses: actions/checkout@v4
20
+
21
+ - name: Set up Python ${{ matrix.python-version }}
22
+ uses: actions/setup-python@v5
23
+ env:
24
+ PIP_DISABLE_PIP_VERSION_CHECK: 1
25
+ with:
26
+ python-version: ${{ matrix.python-version }}
27
+
28
+ - name: Cache Python Dependencies
29
+ uses: actions/cache@v4
30
+ with:
31
+ path: ${{ env.pythonLocation }}
32
+ key: ${{ runner.os }}-os:${{ matrix.os }}-python:${{ matrix.python-version }}-${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('pyproject.toml') }}
33
+
34
+ - name: Install Dependencies
35
+ shell: bash
36
+ run: pip3 install -r requirements.txt -r requirements-dev.txt
37
+
38
+ - name: Check Python Version Compatibility
39
+ shell: bash
40
+ run: scripts/check_python_version.sh
41
+
42
+ - name: Check Types
43
+ shell: bash
44
+ run: ./scripts/check_types.sh
45
+
46
+ - name: Check Lint
47
+ shell: bash
48
+ run: ./scripts/check_lint.sh
49
+
50
+ - name: Run Tests
51
+ shell: bash
52
+ run: ./scripts/run_tests.sh
53
+
54
+ deploy:
55
+ needs: test
56
+
57
+ strategy:
58
+ matrix:
59
+ python-version: ['3.11']
60
+ os: ['ubuntu-22.04']
61
+
62
+ runs-on: ${{ matrix.os }}
63
+
64
+ steps:
65
+ - name: Checkout
66
+ uses: actions/checkout@v4
67
+
68
+ - name: Set Up Python ${{ matrix.python-version }}
69
+ uses: actions/setup-python@v5
70
+ env:
71
+ PIP_DISABLE_PIP_VERSION_CHECK: 1
72
+ with:
73
+ python-version: ${{ matrix.python-version }}
74
+
75
+ - name: Cache Python Dependencies
76
+ uses: actions/cache@v4
77
+ with:
78
+ path: ${{ env.pythonLocation }}
79
+ key: ${{ runner.os }}-os:${{ matrix.os }}-python:${{ matrix.python-version }}-${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('pyproject.toml') }}
80
+
81
+ - name: Install Python Dependencies
82
+ shell: bash
83
+ run: pip3 install -r requirements.txt -r requirements-dev.txt
84
+
85
+ - name: Generate Documentation
86
+ shell: bash
87
+ run: ./scripts/gen_docs.sh
88
+
89
+ - name: Deploy
90
+ uses: casperdcl/deploy-pypi@10cf4cd83fc885003a8d4f37f93a5a0f0fc2d2f4 # v2.4.1
91
+ with:
92
+ build: --sdist --wheel --outdir dist .
93
+ # Only upload if a tag is pushed (otherwise just build & check).
94
+ upload: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') }}
95
+ password: ${{ secrets.PYPI_TOKEN }}
@@ -0,0 +1,33 @@
1
+ # Editor Files
2
+ .DS_Store
3
+ *.swp
4
+
5
+ # Language Dirents
6
+ .ipynb_checkpoints
7
+ node_modules/
8
+ venv/
9
+ *.pyc
10
+ __pycache__/
11
+
12
+ # Common Temp Dirents
13
+ old/
14
+ temp/
15
+ out*/
16
+ /test*
17
+ test/
18
+ /test*.*
19
+
20
+ # Build
21
+ /bin/
22
+ /build/
23
+ /dist/
24
+ *.egg-info
25
+ /html/
26
+ /.mypy_*/
27
+
28
+ # Project-Specific
29
+ *.gif
30
+ *.gz
31
+ /._site/
32
+ *.zip
33
+ *.xcf
@@ -0,0 +1,6 @@
1
+ [mypy]
2
+
3
+ exclude = _test\.py$
4
+
5
+ strict = false
6
+ disable_error_code = type-arg