inmanta-module-git-ops 0.0.1__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.
@@ -0,0 +1,5 @@
1
+ # Changelog
2
+
3
+ ## v0.0.1 - 2025-10-04
4
+
5
+ - First empty release
@@ -0,0 +1,10 @@
1
+ include inmanta_plugins/git_ops/setup.cfg
2
+ include inmanta_plugins/git_ops/py.typed
3
+ recursive-include inmanta_plugins/git_ops/model *.cf
4
+ graft inmanta_plugins/git_ops/files
5
+ graft inmanta_plugins/git_ops/templates
6
+ graft docs
7
+ graft examples
8
+ graft tests
9
+ include README.md
10
+ include CHANGELOG.md
@@ -0,0 +1,8 @@
1
+ Metadata-Version: 2.4
2
+ Name: inmanta-module-git-ops
3
+ Version: 0.0.1
4
+ Summary: Declarative parametrization, extension and validation of Inmanta DSL models.
5
+ Author: Guillaume Everarts de Velp
6
+ Author-email: edvgui@gmail.com
7
+ License: ASL 2.0
8
+ Requires-Dist: inmanta-module-std
@@ -0,0 +1,17 @@
1
+ # git_ops Module
2
+
3
+ ## Running tests
4
+
5
+ 1. Set up a new virtual environment, then install the module in it. The first line assumes you have ``virtualenvwrapper``
6
+ installed. If you don't, you can replace it with `python3 -m venv .env && source .env/bin/activate`.
7
+
8
+ ```bash
9
+ mkvirtualenv inmanta-test -p python3 -a .
10
+ pip install -e . -c requirements.txt -r requirements.dev.txt
11
+ ```
12
+
13
+ 2. Run tests
14
+
15
+ ```bash
16
+ pytest tests
17
+ ```
File without changes
@@ -0,0 +1,8 @@
1
+ Metadata-Version: 2.4
2
+ Name: inmanta-module-git-ops
3
+ Version: 0.0.1
4
+ Summary: Declarative parametrization, extension and validation of Inmanta DSL models.
5
+ Author: Guillaume Everarts de Velp
6
+ Author-email: edvgui@gmail.com
7
+ License: ASL 2.0
8
+ Requires-Dist: inmanta-module-std
@@ -0,0 +1,19 @@
1
+ CHANGELOG.md
2
+ MANIFEST.in
3
+ README.md
4
+ pyproject.toml
5
+ setup.cfg
6
+ docs/README.md
7
+ inmanta_module_git_ops.egg-info/PKG-INFO
8
+ inmanta_module_git_ops.egg-info/SOURCES.txt
9
+ inmanta_module_git_ops.egg-info/dependency_links.txt
10
+ inmanta_module_git_ops.egg-info/not-zip-safe
11
+ inmanta_module_git_ops.egg-info/requires.txt
12
+ inmanta_module_git_ops.egg-info/top_level.txt
13
+ inmanta_plugins/git_ops/__init__.py
14
+ inmanta_plugins/git_ops/py.typed
15
+ inmanta_plugins/git_ops/setup.cfg
16
+ inmanta_plugins/git_ops/files/.gitkeep
17
+ inmanta_plugins/git_ops/model/_init.cf
18
+ inmanta_plugins/git_ops/templates/.gitkeep
19
+ tests/test_basics.py
@@ -0,0 +1,17 @@
1
+ """
2
+ Copyright 2025 Guillaume Everarts de Velp
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+
16
+ Contact: edvgui@gmail.com
17
+ """
@@ -0,0 +1,17 @@
1
+ """
2
+ Copyright 2025 Guillaume Everarts de Velp
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+
16
+ Contact: edvgui@gmail.com
17
+ """
@@ -0,0 +1,62 @@
1
+ [metadata]
2
+ name = inmanta-module-git-ops
3
+ version = 0.0.1
4
+ description = Declarative parametrization, extension and validation of Inmanta DSL models.
5
+ author = Guillaume Everarts de Velp
6
+ author_email = edvgui@gmail.com
7
+ license = ASL 2.0
8
+ copyright = Guillaume Everarts de Velp 2025
9
+
10
+ [options]
11
+ zip_safe=False
12
+ include_package_data=True
13
+ packages=find_namespace:
14
+ install_requires =
15
+ inmanta-module-std
16
+
17
+ [options.packages.find]
18
+ include = inmanta_plugins*
19
+
20
+ [flake8]
21
+ # H101 Include your name with TODOs as in # TODO(yourname). This makes it easier to find out who the author of the comment was.
22
+ # H302 Do not import objects, only modules DEPRICATED
23
+ # H404 Multi line docstrings should start without a leading new line.
24
+ # H405 multi line docstring summary not separated with an empty line
25
+ # H301 Do not import more than one module per line (*)
26
+ # H306 Alphabetically order your imports by the full module path.
27
+ # H904 Wrap long lines in parentheses instead of a backslash
28
+ # E203 whitespace before ':' " on list slice.
29
+ # E266 too many leading ‘#’ for block comment
30
+ # E252 missing whitespace around parameter equals
31
+ # w503 line break occurred before a binary operator (black and flake disagree)
32
+ # E402 module level import not at top of file
33
+ # E203 whitespaces and the slice operator. (black and flake disagree)
34
+ # F722 syntax error in forward annotation (plugins type annotations)
35
+ ignore = H405,H404,H302,H306,H301,H101,H801,E402,W503,E252,E203,F722
36
+
37
+ # These inmanta primitive types will throw F821 in annotations
38
+ # see: http://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-builtins
39
+ builtins=string,number,bool
40
+ max-line-length = 128
41
+ exclude = **/.env,.venv,.git,.tox,dist,doc,**egg
42
+ copyright-check=True
43
+ copyright-author=Guillaume Everarts de Velp
44
+ select = E,F,W,C,BLK,I
45
+
46
+ [isort]
47
+ multi_line_output=3
48
+ include_trailing_comma=True
49
+ force_grid_wrap=0
50
+ use_parentheses=True
51
+ # Black splits up import statements that are too long
52
+ # Setting isorts line_length to 88 (blacks default) so they do not collide
53
+ line_length=88
54
+ known_first_party=inmanta
55
+ known_third_party=pytest,pydantic,Jinja2
56
+
57
+ [black]
58
+ line-length=128
59
+ target-version = 'py36', 'py37', 'py38'
60
+
61
+ [egg_info]
62
+ tag_build =
@@ -0,0 +1,3 @@
1
+ [build-system]
2
+ requires = ["setuptools", "wheel"]
3
+ build-backend = "setuptools.build_meta"
@@ -0,0 +1,45 @@
1
+ [metadata]
2
+ name = inmanta-module-git-ops
3
+ version = 0.0.1
4
+ description = Declarative parametrization, extension and validation of Inmanta DSL models.
5
+ author = Guillaume Everarts de Velp
6
+ author_email = edvgui@gmail.com
7
+ license = ASL 2.0
8
+ copyright = Guillaume Everarts de Velp 2025
9
+
10
+ [options]
11
+ zip_safe = False
12
+ include_package_data = True
13
+ packages = find_namespace:
14
+ install_requires =
15
+ inmanta-module-std
16
+
17
+ [options.packages.find]
18
+ include = inmanta_plugins*
19
+
20
+ [flake8]
21
+ ignore = H405,H404,H302,H306,H301,H101,H801,E402,W503,E252,E203,F722
22
+ builtins = string,number,bool
23
+ max-line-length = 128
24
+ exclude = **/.env,.venv,.git,.tox,dist,doc,**egg
25
+ copyright-check = True
26
+ copyright-author = Guillaume Everarts de Velp
27
+ select = E,F,W,C,BLK,I
28
+
29
+ [isort]
30
+ multi_line_output = 3
31
+ include_trailing_comma = True
32
+ force_grid_wrap = 0
33
+ use_parentheses = True
34
+ line_length = 88
35
+ known_first_party = inmanta
36
+ known_third_party = pytest,pydantic,Jinja2
37
+
38
+ [black]
39
+ line-length = 128
40
+ target-version = 'py36', 'py37', 'py38'
41
+
42
+ [egg_info]
43
+ tag_build =
44
+ tag_date = 0
45
+
@@ -0,0 +1,23 @@
1
+ """
2
+ Copyright 2025 Guillaume Everarts de Velp
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+
16
+ Contact: edvgui@gmail.com
17
+ """
18
+
19
+ from pytest_inmanta.plugin import Project
20
+
21
+
22
+ def test_basics(project: Project) -> None:
23
+ project.compile("import git_ops")