htmy 0.8.1__tar.gz → 0.8.2__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 htmy might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: htmy
3
- Version: 0.8.1
3
+ Version: 0.8.2
4
4
  Summary: Async, pure-Python server-side rendering engine.
5
5
  License: MIT
6
6
  Author: Peter Volf
@@ -709,6 +709,18 @@ class i(Tag):
709
709
  tag_config = _DefaultTagConfig.inline_children
710
710
 
711
711
 
712
+ class kbd(Tag):
713
+ """
714
+ `<kbd>` element.
715
+
716
+ See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd.
717
+ """
718
+
719
+ __slots__ = ()
720
+
721
+ tag_config = _DefaultTagConfig.inline_children
722
+
723
+
712
724
  class picture(Tag):
713
725
  """
714
726
  `<picture>` element.
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "htmy"
3
- version = "0.8.1"
3
+ version = "0.8.2"
4
4
  description = "Async, pure-Python server-side rendering engine."
5
5
  authors = ["Peter Volf <do.volfp@gmail.com>"]
6
6
  license = "MIT"
@@ -71,12 +71,17 @@ lint.select = [
71
71
  "tests/**/*" = ["S101"] # S101: use of assert detected
72
72
 
73
73
  [tool.poe.tasks]
74
- check-format = "ruff format --check ."
75
- format = "ruff format ."
74
+ format = "ruff format --check ."
75
+ format-fix = "ruff format ."
76
+
76
77
  lint = "ruff check ."
77
78
  lint-fix = "ruff . --fix"
79
+
78
80
  mypy = "mypy ."
81
+
82
+ check.sequence = ["format", "lint", "mypy"]
83
+ check.ignore_fail = "return_non_zero"
84
+
79
85
  test = "python -m pytest tests"
80
- static-checks.sequence = ["lint", "check-format", "mypy"]
81
- static-checks.ignore_fail = "return_non_zero"
86
+
82
87
  serve-docs = "mkdocs serve"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes