Skip to content

Commit deaaa49

Browse files
committed
feat: create Cinder stub project
This is a stub project for us to begin developing our own Cinder code and adding it into a container.
1 parent 08a3da9 commit deaaa49

File tree

7 files changed

+297
-0
lines changed

7 files changed

+297
-0
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ repos:
6363
# uv version.
6464
rev: 0.7.13
6565
hooks:
66+
- id: uv-lock
67+
name: cinder-understack
68+
args: ["-D", "python/cinder-understack"]
6669
- id: uv-lock
6770
name: diff-nautobot-understack
6871
args: ["-D", "python/diff-nautobot-understack"]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
UnderStack Cinder drivers

python/cinder-understack/cinder_understack/__init__.py

Whitespace-only changes.

python/cinder-understack/cinder_understack/tests/__init__.py

Whitespace-only changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
def test_noop():
2+
pass
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "cinder-understack"
7+
version = "0.1.0"
8+
description = "Cinder driver package for UnderStack"
9+
authors = [{ name = "Understack Developers" }]
10+
requires-python = "~=3.10"
11+
readme = "README.rst"
12+
license = "Apache-2.0"
13+
classifiers = [
14+
"Development Status :: 3 - Alpha",
15+
"Environment :: OpenStack",
16+
"Intended Audience :: System Administrators",
17+
"Intended Audience :: Information Technology",
18+
"License :: OSI Approved :: Apache Software License",
19+
"Operating System :: OS Independent",
20+
"Programming Language :: Python",
21+
"Programming Language :: Python :: Implementation :: CPython",
22+
"Programming Language :: Python :: 3 :: Only",
23+
"Programming Language :: Python :: 3",
24+
"Programming Language :: Python :: 3.10",
25+
]
26+
dependencies = [
27+
]
28+
29+
[project.urls]
30+
Source = "https://github.com/rackerlabs/understack"
31+
32+
[dependency-groups]
33+
test = [
34+
"pytest>=8.3.2,<9",
35+
"pytest-cov>=5.0.0,<6",
36+
"pytest-mock>=3.14.0,<4",
37+
]
38+
39+
[tool.uv]
40+
default-groups = ["test"]
41+
42+
[tool.pytest.ini_options]
43+
minversion = "6.0"
44+
addopts = "-ra"
45+
filterwarnings = "ignore::DeprecationWarning"
46+
47+
[tool.ruff]
48+
# use our default and override anything we need specifically
49+
extend = "../pyproject.toml"
50+
target-version = "py310"

python/cinder-understack/uv.lock

Lines changed: 241 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)