lupaxa-dockerhub-intel 0.1.0__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.
- lupaxa_dockerhub_intel-0.1.0/LICENCE +21 -0
- lupaxa_dockerhub_intel-0.1.0/PKG-INFO +120 -0
- lupaxa_dockerhub_intel-0.1.0/README.md +61 -0
- lupaxa_dockerhub_intel-0.1.0/pyproject.toml +267 -0
- lupaxa_dockerhub_intel-0.1.0/setup.cfg +4 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/__init__.py +13 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/__main__.py +8 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/app.py +454 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/auth.py +41 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/checks/__init__.py +5 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/checks/stale.py +27 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/cli.py +888 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/config/__init__.py +5 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/config/defaults.py +120 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/config/editor.py +208 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/config/loader.py +185 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/config/models.py +274 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/config/paths.py +47 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/config/profiles.py +89 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/constants.py +52 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/dockerhub/__init__.py +5 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/dockerhub/client.py +257 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/dockerhub/names.py +54 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/dockerhub/rate_limit.py +129 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/errors.py +57 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/history/__init__.py +5 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/history/changes.py +48 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/history/growth.py +103 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/logging_setup.py +44 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/reports/__init__.py +5 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/reports/progress.py +120 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/reports/render.py +211 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/storage/__init__.py +5 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/storage/database.py +600 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/sync/__init__.py +5 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/sync/engine.py +306 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/tui/__init__.py +5 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa/dockerhub_intel/tui/application.py +316 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa_dockerhub_intel.egg-info/PKG-INFO +120 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa_dockerhub_intel.egg-info/SOURCES.txt +48 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa_dockerhub_intel.egg-info/dependency_links.txt +1 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa_dockerhub_intel.egg-info/entry_points.txt +2 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa_dockerhub_intel.egg-info/requires.txt +28 -0
- lupaxa_dockerhub_intel-0.1.0/src/lupaxa_dockerhub_intel.egg-info/top_level.txt +1 -0
- lupaxa_dockerhub_intel-0.1.0/tests/test_auth.py +73 -0
- lupaxa_dockerhub_intel-0.1.0/tests/test_cli.py +50 -0
- lupaxa_dockerhub_intel-0.1.0/tests/test_commands.py +547 -0
- lupaxa_dockerhub_intel-0.1.0/tests/test_edges.py +670 -0
- lupaxa_dockerhub_intel-0.1.0/tests/test_monitoring.py +265 -0
- lupaxa_dockerhub_intel-0.1.0/tests/test_version.py +24 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) The Lupaxa Project
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: lupaxa-dockerhub-intel
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Monitor an explicit collection of Docker Hub repositories from the local machine.
|
|
5
|
+
Author: The Lupaxa Project
|
|
6
|
+
Maintainer: The Lupaxa Project
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
Project-URL: Homepage, https://github.com/lupaxa-docker-toolbox/dockerhub-intel
|
|
9
|
+
Project-URL: Documentation, https://dockerhub-intel.thelupaxaproject.org/
|
|
10
|
+
Project-URL: Repository, https://github.com/lupaxa-docker-toolbox/dockerhub-intel
|
|
11
|
+
Project-URL: Issues, https://github.com/lupaxa-docker-toolbox/dockerhub-intel/issues
|
|
12
|
+
Keywords: cli,docker,dockerhub-intel,python,toolbox
|
|
13
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
14
|
+
Classifier: Environment :: Console
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Natural Language :: English
|
|
17
|
+
Classifier: Operating System :: MacOS
|
|
18
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
19
|
+
Classifier: Operating System :: POSIX
|
|
20
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
21
|
+
Classifier: Programming Language :: Python
|
|
22
|
+
Classifier: Programming Language :: Python :: 3
|
|
23
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
27
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
28
|
+
Classifier: Topic :: Software Development
|
|
29
|
+
Requires-Python: >=3.11
|
|
30
|
+
Description-Content-Type: text/markdown
|
|
31
|
+
License-File: LICENCE
|
|
32
|
+
Requires-Dist: aiosqlite<1,>=0.20
|
|
33
|
+
Requires-Dist: httpx<1,>=0.28
|
|
34
|
+
Requires-Dist: platformdirs<5,>=4
|
|
35
|
+
Requires-Dist: pydantic<3,>=2.10
|
|
36
|
+
Requires-Dist: rich<15,>=14
|
|
37
|
+
Requires-Dist: ruamel.yaml<0.19,>=0.18
|
|
38
|
+
Requires-Dist: textual<9,>=3
|
|
39
|
+
Requires-Dist: typer<1,>=0.15
|
|
40
|
+
Provides-Extra: dev
|
|
41
|
+
Requires-Dist: build<2.0.0,>=1.2.2; extra == "dev"
|
|
42
|
+
Requires-Dist: mkdocs==1.6.1; extra == "dev"
|
|
43
|
+
Requires-Dist: mkdocs-material==9.7.7; extra == "dev"
|
|
44
|
+
Requires-Dist: mypy<2.0.0,>=1.17.0; extra == "dev"
|
|
45
|
+
Requires-Dist: pre-commit<5.0.0,>=4.2.0; extra == "dev"
|
|
46
|
+
Requires-Dist: pytest<9.0.0,>=8.4.0; extra == "dev"
|
|
47
|
+
Requires-Dist: pytest-asyncio<2,>=1.5; extra == "dev"
|
|
48
|
+
Requires-Dist: pytest-cov<7.0.0,>=6.2.0; extra == "dev"
|
|
49
|
+
Requires-Dist: respx<1,>=0.22; extra == "dev"
|
|
50
|
+
Requires-Dist: ruff<1.0.0,>=0.12.0; extra == "dev"
|
|
51
|
+
Requires-Dist: twine<7.0.0,>=6.1.0; extra == "dev"
|
|
52
|
+
Requires-Dist: types-setuptools<81.0.0,>=80.1.7; extra == "dev"
|
|
53
|
+
Provides-Extra: test
|
|
54
|
+
Requires-Dist: pytest>=8.4; extra == "test"
|
|
55
|
+
Requires-Dist: pytest-asyncio<2,>=1.5; extra == "test"
|
|
56
|
+
Requires-Dist: pytest-cov>=5.0; extra == "test"
|
|
57
|
+
Requires-Dist: respx<1,>=0.22; extra == "test"
|
|
58
|
+
Dynamic: license-file
|
|
59
|
+
|
|
60
|
+
<p align="center">
|
|
61
|
+
<a href="https://github.com/lupaxa-docker-toolbox">
|
|
62
|
+
<img src="https://raw.githubusercontent.com/the-lupaxa-project/brand-assets/master/logos/organisations/docker-toolbox/readme-logo.png" alt="The Lupaxa Project: Docker Toolbox" />
|
|
63
|
+
</a>
|
|
64
|
+
</p>
|
|
65
|
+
|
|
66
|
+
<h1 align="center">Docker Hub Intel</h1>
|
|
67
|
+
|
|
68
|
+
**Docker Hub Intel** monitors an explicit list of Docker Hub repositories. It stores pull counts, tags, and image changes locally and can show them without a network connection. Groups organise the list. Profiles decide which checks run.
|
|
69
|
+
|
|
70
|
+
## Features
|
|
71
|
+
|
|
72
|
+
- An explicit repository list. Nothing is discovered.
|
|
73
|
+
- Public repositories, including Docker Official Images, without owning them.
|
|
74
|
+
- Profiles for metadata, pull statistics, tags, digests, architectures, image details, and staleness.
|
|
75
|
+
- Profile inheritance. An explicit false overrides an inherited true.
|
|
76
|
+
- A local SQLite cache, so lists and reports work offline.
|
|
77
|
+
- Human tables, JSON, CSV, and Markdown.
|
|
78
|
+
- A terminal interface for the same cached view.
|
|
79
|
+
- An optional token from `--token` or `DOCKERHUB_TOKEN`. The command-line value wins. It is not stored.
|
|
80
|
+
|
|
81
|
+
## Installation
|
|
82
|
+
|
|
83
|
+
Install from a checkout while the first release is in progress.
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
make init
|
|
87
|
+
make python-install-dev
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Verify the command.
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
dockerhub-intel --version
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## Documentation
|
|
97
|
+
|
|
98
|
+
Online documentation:
|
|
99
|
+
|
|
100
|
+
[https://dockerhub-intel.thelupaxaproject.org/](https://dockerhub-intel.thelupaxaproject.org/)
|
|
101
|
+
|
|
102
|
+
Serve the docs locally:
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
make init
|
|
106
|
+
make python-install-dev
|
|
107
|
+
make mkdocs-serve
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
## Development
|
|
111
|
+
|
|
112
|
+
Lint, type-check, and test:
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
make python-check
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
<a href="https://github.com/the-lupaxa-project">
|
|
119
|
+
<img src="https://raw.githubusercontent.com/the-lupaxa-project/brand-assets/master/logos/components/footer-for-child-orgs.svg" alt="The Lupaxa Project Footer" width="100%" />
|
|
120
|
+
</a>
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://github.com/lupaxa-docker-toolbox">
|
|
3
|
+
<img src="https://raw.githubusercontent.com/the-lupaxa-project/brand-assets/master/logos/organisations/docker-toolbox/readme-logo.png" alt="The Lupaxa Project: Docker Toolbox" />
|
|
4
|
+
</a>
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
<h1 align="center">Docker Hub Intel</h1>
|
|
8
|
+
|
|
9
|
+
**Docker Hub Intel** monitors an explicit list of Docker Hub repositories. It stores pull counts, tags, and image changes locally and can show them without a network connection. Groups organise the list. Profiles decide which checks run.
|
|
10
|
+
|
|
11
|
+
## Features
|
|
12
|
+
|
|
13
|
+
- An explicit repository list. Nothing is discovered.
|
|
14
|
+
- Public repositories, including Docker Official Images, without owning them.
|
|
15
|
+
- Profiles for metadata, pull statistics, tags, digests, architectures, image details, and staleness.
|
|
16
|
+
- Profile inheritance. An explicit false overrides an inherited true.
|
|
17
|
+
- A local SQLite cache, so lists and reports work offline.
|
|
18
|
+
- Human tables, JSON, CSV, and Markdown.
|
|
19
|
+
- A terminal interface for the same cached view.
|
|
20
|
+
- An optional token from `--token` or `DOCKERHUB_TOKEN`. The command-line value wins. It is not stored.
|
|
21
|
+
|
|
22
|
+
## Installation
|
|
23
|
+
|
|
24
|
+
Install from a checkout while the first release is in progress.
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
make init
|
|
28
|
+
make python-install-dev
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Verify the command.
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
dockerhub-intel --version
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Documentation
|
|
38
|
+
|
|
39
|
+
Online documentation:
|
|
40
|
+
|
|
41
|
+
[https://dockerhub-intel.thelupaxaproject.org/](https://dockerhub-intel.thelupaxaproject.org/)
|
|
42
|
+
|
|
43
|
+
Serve the docs locally:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
make init
|
|
47
|
+
make python-install-dev
|
|
48
|
+
make mkdocs-serve
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Development
|
|
52
|
+
|
|
53
|
+
Lint, type-check, and test:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
make python-check
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
<a href="https://github.com/the-lupaxa-project">
|
|
60
|
+
<img src="https://raw.githubusercontent.com/the-lupaxa-project/brand-assets/master/logos/components/footer-for-child-orgs.svg" alt="The Lupaxa Project Footer" width="100%" />
|
|
61
|
+
</a>
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = [
|
|
3
|
+
"setuptools>=77.0.0",
|
|
4
|
+
]
|
|
5
|
+
build-backend = "setuptools.build_meta"
|
|
6
|
+
|
|
7
|
+
[project]
|
|
8
|
+
name = "lupaxa-dockerhub-intel"
|
|
9
|
+
version = "0.1.0"
|
|
10
|
+
description = "Monitor an explicit collection of Docker Hub repositories from the local machine."
|
|
11
|
+
readme = "README.md"
|
|
12
|
+
requires-python = ">=3.11"
|
|
13
|
+
license = "MIT"
|
|
14
|
+
license-files = [
|
|
15
|
+
"LICENCE",
|
|
16
|
+
]
|
|
17
|
+
|
|
18
|
+
authors = [
|
|
19
|
+
{ name = "The Lupaxa Project" },
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
maintainers = [
|
|
23
|
+
{ name = "The Lupaxa Project" },
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
keywords = [
|
|
27
|
+
"cli",
|
|
28
|
+
"docker",
|
|
29
|
+
"dockerhub-intel",
|
|
30
|
+
"python",
|
|
31
|
+
"toolbox",
|
|
32
|
+
]
|
|
33
|
+
|
|
34
|
+
classifiers = [
|
|
35
|
+
"Development Status :: 2 - Pre-Alpha",
|
|
36
|
+
"Environment :: Console",
|
|
37
|
+
"Intended Audience :: Developers",
|
|
38
|
+
"Natural Language :: English",
|
|
39
|
+
"Operating System :: MacOS",
|
|
40
|
+
"Operating System :: Microsoft :: Windows",
|
|
41
|
+
"Operating System :: POSIX",
|
|
42
|
+
"Operating System :: POSIX :: Linux",
|
|
43
|
+
"Programming Language :: Python",
|
|
44
|
+
"Programming Language :: Python :: 3",
|
|
45
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
46
|
+
"Programming Language :: Python :: 3.11",
|
|
47
|
+
"Programming Language :: Python :: 3.12",
|
|
48
|
+
"Programming Language :: Python :: 3.13",
|
|
49
|
+
"Programming Language :: Python :: 3.14",
|
|
50
|
+
"Topic :: Software Development",
|
|
51
|
+
]
|
|
52
|
+
|
|
53
|
+
dependencies = [
|
|
54
|
+
"aiosqlite>=0.20,<1",
|
|
55
|
+
"httpx>=0.28,<1",
|
|
56
|
+
"platformdirs>=4,<5",
|
|
57
|
+
"pydantic>=2.10,<3",
|
|
58
|
+
"rich>=14,<15",
|
|
59
|
+
"ruamel.yaml>=0.18,<0.19",
|
|
60
|
+
"textual>=3,<9",
|
|
61
|
+
"typer>=0.15,<1",
|
|
62
|
+
]
|
|
63
|
+
|
|
64
|
+
[project.optional-dependencies]
|
|
65
|
+
dev = [
|
|
66
|
+
"build>=1.2.2,<2.0.0",
|
|
67
|
+
"mkdocs==1.6.1",
|
|
68
|
+
"mkdocs-material==9.7.7",
|
|
69
|
+
"mypy>=1.17.0,<2.0.0",
|
|
70
|
+
"pre-commit>=4.2.0,<5.0.0",
|
|
71
|
+
"pytest>=8.4.0,<9.0.0",
|
|
72
|
+
"pytest-asyncio>=1.5,<2",
|
|
73
|
+
"pytest-cov>=6.2.0,<7.0.0",
|
|
74
|
+
"respx>=0.22,<1",
|
|
75
|
+
"ruff>=0.12.0,<1.0.0",
|
|
76
|
+
"twine>=6.1.0,<7.0.0",
|
|
77
|
+
"types-setuptools>=80.1.7,<81.0.0",
|
|
78
|
+
]
|
|
79
|
+
test = [
|
|
80
|
+
"pytest>=8.4",
|
|
81
|
+
"pytest-asyncio>=1.5,<2",
|
|
82
|
+
"pytest-cov>=5.0",
|
|
83
|
+
"respx>=0.22,<1",
|
|
84
|
+
]
|
|
85
|
+
|
|
86
|
+
[project.urls]
|
|
87
|
+
Homepage = "https://github.com/lupaxa-docker-toolbox/dockerhub-intel"
|
|
88
|
+
Documentation = "https://dockerhub-intel.thelupaxaproject.org/"
|
|
89
|
+
Repository = "https://github.com/lupaxa-docker-toolbox/dockerhub-intel"
|
|
90
|
+
Issues = "https://github.com/lupaxa-docker-toolbox/dockerhub-intel/issues"
|
|
91
|
+
|
|
92
|
+
[project.scripts]
|
|
93
|
+
dockerhub-intel = "lupaxa.dockerhub_intel.cli:main"
|
|
94
|
+
|
|
95
|
+
[tool.setuptools]
|
|
96
|
+
package-dir = { "" = "src" }
|
|
97
|
+
|
|
98
|
+
[tool.setuptools.packages.find]
|
|
99
|
+
where = [
|
|
100
|
+
"src",
|
|
101
|
+
]
|
|
102
|
+
include = [
|
|
103
|
+
"lupaxa.dockerhub_intel*",
|
|
104
|
+
]
|
|
105
|
+
namespaces = true
|
|
106
|
+
|
|
107
|
+
[tool.ruff]
|
|
108
|
+
target-version = "py311"
|
|
109
|
+
line-length = 88
|
|
110
|
+
src = [
|
|
111
|
+
"src",
|
|
112
|
+
"tests",
|
|
113
|
+
]
|
|
114
|
+
extend-exclude = [
|
|
115
|
+
".mypy_cache",
|
|
116
|
+
".pytest_cache",
|
|
117
|
+
".tox",
|
|
118
|
+
".venv",
|
|
119
|
+
"build",
|
|
120
|
+
"dist",
|
|
121
|
+
]
|
|
122
|
+
|
|
123
|
+
[tool.ruff.lint]
|
|
124
|
+
select = [
|
|
125
|
+
"E",
|
|
126
|
+
"F",
|
|
127
|
+
"I",
|
|
128
|
+
"B",
|
|
129
|
+
"S",
|
|
130
|
+
"UP",
|
|
131
|
+
"SIM",
|
|
132
|
+
"C4",
|
|
133
|
+
"ISC",
|
|
134
|
+
"D",
|
|
135
|
+
"ANN",
|
|
136
|
+
"PT",
|
|
137
|
+
]
|
|
138
|
+
|
|
139
|
+
ignore = [
|
|
140
|
+
"D200",
|
|
141
|
+
"D201",
|
|
142
|
+
"D202",
|
|
143
|
+
"D203",
|
|
144
|
+
"D204",
|
|
145
|
+
"D205",
|
|
146
|
+
"D206",
|
|
147
|
+
"D207",
|
|
148
|
+
"D208",
|
|
149
|
+
"D209",
|
|
150
|
+
"D210",
|
|
151
|
+
"D211",
|
|
152
|
+
"D212",
|
|
153
|
+
"ISC001",
|
|
154
|
+
]
|
|
155
|
+
|
|
156
|
+
[tool.ruff.lint.per-file-ignores]
|
|
157
|
+
"src/lupaxa/dockerhub_intel/cli.py" = [
|
|
158
|
+
"B008",
|
|
159
|
+
]
|
|
160
|
+
"tests/**/*.py" = [
|
|
161
|
+
"ANN",
|
|
162
|
+
"D",
|
|
163
|
+
"S101",
|
|
164
|
+
"S105",
|
|
165
|
+
"S106",
|
|
166
|
+
]
|
|
167
|
+
|
|
168
|
+
[tool.ruff.lint.flake8-annotations]
|
|
169
|
+
allow-star-arg-any = false
|
|
170
|
+
ignore-fully-untyped = false
|
|
171
|
+
mypy-init-return = true
|
|
172
|
+
suppress-dummy-args = false
|
|
173
|
+
suppress-none-returning = false
|
|
174
|
+
|
|
175
|
+
[tool.ruff.lint.isort]
|
|
176
|
+
combine-as-imports = true
|
|
177
|
+
force-sort-within-sections = true
|
|
178
|
+
known-first-party = [
|
|
179
|
+
"lupaxa",
|
|
180
|
+
]
|
|
181
|
+
split-on-trailing-comma = true
|
|
182
|
+
|
|
183
|
+
[tool.ruff.lint.pydocstyle]
|
|
184
|
+
convention = "google"
|
|
185
|
+
|
|
186
|
+
[tool.ruff.format]
|
|
187
|
+
docstring-code-format = true
|
|
188
|
+
docstring-code-line-length = 88
|
|
189
|
+
indent-style = "space"
|
|
190
|
+
line-ending = "lf"
|
|
191
|
+
quote-style = "double"
|
|
192
|
+
skip-magic-trailing-comma = false
|
|
193
|
+
|
|
194
|
+
[tool.mypy]
|
|
195
|
+
python_version = "3.11"
|
|
196
|
+
explicit_package_bases = true
|
|
197
|
+
files = [
|
|
198
|
+
"src",
|
|
199
|
+
"tests",
|
|
200
|
+
]
|
|
201
|
+
mypy_path = "src"
|
|
202
|
+
strict = true
|
|
203
|
+
pretty = true
|
|
204
|
+
show_column_numbers = true
|
|
205
|
+
show_error_codes = true
|
|
206
|
+
show_error_context = true
|
|
207
|
+
show_traceback = true
|
|
208
|
+
warn_unreachable = true
|
|
209
|
+
warn_unused_configs = true
|
|
210
|
+
exclude = [
|
|
211
|
+
"^build/",
|
|
212
|
+
"^dist/",
|
|
213
|
+
"^hooks/",
|
|
214
|
+
]
|
|
215
|
+
|
|
216
|
+
[tool.pytest.ini_options]
|
|
217
|
+
minversion = "8.0"
|
|
218
|
+
asyncio_mode = "auto"
|
|
219
|
+
asyncio_default_fixture_loop_scope = "function"
|
|
220
|
+
addopts = [
|
|
221
|
+
"--strict-config",
|
|
222
|
+
"--strict-markers",
|
|
223
|
+
"--showlocals",
|
|
224
|
+
"--tb=short",
|
|
225
|
+
]
|
|
226
|
+
testpaths = [
|
|
227
|
+
"tests",
|
|
228
|
+
]
|
|
229
|
+
pythonpath = [
|
|
230
|
+
"src",
|
|
231
|
+
]
|
|
232
|
+
xfail_strict = true
|
|
233
|
+
filterwarnings = [
|
|
234
|
+
"error",
|
|
235
|
+
]
|
|
236
|
+
|
|
237
|
+
[tool.coverage.run]
|
|
238
|
+
branch = true
|
|
239
|
+
parallel = true
|
|
240
|
+
source = [
|
|
241
|
+
"lupaxa.dockerhub_intel",
|
|
242
|
+
]
|
|
243
|
+
|
|
244
|
+
[tool.coverage.paths]
|
|
245
|
+
source = [
|
|
246
|
+
"src/lupaxa/dockerhub_intel",
|
|
247
|
+
"*/site-packages/lupaxa/dockerhub_intel",
|
|
248
|
+
]
|
|
249
|
+
|
|
250
|
+
[tool.coverage.report]
|
|
251
|
+
exclude_also = [
|
|
252
|
+
"if TYPE_CHECKING:",
|
|
253
|
+
"if __name__ == \"__main__\":",
|
|
254
|
+
"raise AssertionError",
|
|
255
|
+
"raise NotImplementedError",
|
|
256
|
+
]
|
|
257
|
+
fail_under = 90
|
|
258
|
+
precision = 2
|
|
259
|
+
show_missing = true
|
|
260
|
+
skip_covered = false
|
|
261
|
+
skip_empty = true
|
|
262
|
+
|
|
263
|
+
[tool.coverage.html]
|
|
264
|
+
directory = "coverage/html"
|
|
265
|
+
|
|
266
|
+
[tool.coverage.xml]
|
|
267
|
+
output = "coverage/coverage.xml"
|