Skip to content

Commit 67d7f28

Browse files
committed
0.1.0
1 parent 4a5c55c commit 67d7f28

File tree

5 files changed

+44
-8
lines changed

5 files changed

+44
-8
lines changed

.github/dependabot.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "pip"
4+
directory: "/"
5+
schedule:
6+
interval: "monthly"
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: monthly

.github/workflows/publish.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Publish
2+
3+
on:
4+
release:
5+
types: [published]
6+
workflow_dispatch:
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Set up Python
14+
uses: actions/setup-python@v5
15+
with:
16+
python-version: 3.8
17+
- name: Install Flit
18+
run: pip install flit
19+
- name: Install Dependencies
20+
run: make install
21+
- name: Install build dependencies
22+
run: pip install build
23+
- name: Build distribution
24+
run: python -m build
25+
- name: Publish
26+
uses: pypa/gh-action-pypi-publish@v1.8.14
27+
with:
28+
password: ${{ secrets.PYPI_API_TOKEN }}

py_html/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
"""PyHTML"""
1+
"""PyHTML is HTML in python objects"""
22

3-
__version__ = "0.1a1"
3+
__version__ = "0.1.0"

py_html/styles/base.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import typing as t
22

3-
from ellar.common.compatible import AttributeDict
43
from typing_extensions import Unpack
54

65
from .spec import CSSAttributesSpec
76
from .utils import snake_to_kebab
87

98

10-
class StyleCSS(AttributeDict):
9+
class StyleCSS(dict):
1110
def __init__(self, **styles: Unpack[CSSAttributesSpec]) -> None:
1211
super().__init__(**styles)
1312

pyproject.toml

+3-4
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ authors = [
1212
{name = "Ezeudoh Tochukwu", email = "tochukwu.ezeudoh@gmail.com"},
1313
]
1414
dynamic = ["version", "description"]
15-
requires-python = ">=3.7"
15+
requires-python = ">=3.8"
1616
readme = "README.md"
17-
home-page = "https://github.com/python-ellar/ellar"
17+
home-page = "https://github.com/python-ellar/py-html"
1818
classifiers = [
1919
"Intended Audience :: Information Technology",
2020
"Intended Audience :: System Administrators",
@@ -39,8 +39,7 @@ classifiers = [
3939
"Topic :: Internet :: WWW/HTTP",
4040
]
4141

42-
dependencies = [
43-
]
42+
dependencies = []
4443

4544
[project.urls]
4645
Documentation = "https://python-ellar.github.io/py-html/"

0 commit comments

Comments
 (0)