Skip to content

Commit a1335f1

Browse files
committed
updates for 2.0.0 release
1 parent 6c56861 commit a1335f1

4 files changed

Lines changed: 15 additions & 14 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ repos:
44
hooks:
55
- id: ruff-check
66
args: [--fix, --show-fixes]
7+
files: ^(custom_components|tests)/.+\.py$
78
- id: ruff-format
9+
files: ^(custom_components|tests)/.+\.py$
810
- repo: https://github.com/codespell-project/codespell
911
rev: v2.4.1
1012
hooks:

custom_components/pyscript/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"issue_tracker": "https://github.com/custom-components/pyscript/issues",
1313
"requirements": ["croniter==6.0.0", "watchdog==6.0.0"],
1414
"ssdp": [],
15-
"version": "1.7.0",
15+
"version": "2.0.0",
1616
"zeroconf": []
1717
}

docs/conf.py

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,35 +14,34 @@
1414
# import sys
1515
# sys.path.insert(0, os.path.abspath('.'))
1616

17-
import sphinx_rtd_theme
1817

1918
# -- Project information -----------------------------------------------------
2019

21-
project = 'hacs-pyscript'
22-
copyright = '2020-2025, Craig Barratt'
23-
author = 'Craig Barratt'
20+
project = "hacs-pyscript"
21+
copyright = "2020-2026, Craig Barratt"
22+
author = "Craig Barratt"
2423

2524
# The full version, including alpha/beta/rc tags
26-
release = '1.7.0'
25+
release = "2.0.0"
2726

28-
master_doc = 'index'
27+
master_doc = "index"
2928

3029
# -- General configuration ---------------------------------------------------
3130

3231
# Add any Sphinx extension module names here, as strings. They can be
3332
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3433
# ones.
3534
extensions = [
36-
'sphinx_rtd_theme',
35+
"sphinx_rtd_theme",
3736
]
3837

3938
# Add any paths that contain templates here, relative to this directory.
40-
templates_path = ['_templates']
39+
templates_path = ["_templates"]
4140

4241
# List of patterns, relative to source directory, that match files and
4342
# directories to ignore when looking for source files.
4443
# This pattern also affects html_static_path and html_extra_path.
45-
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
44+
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
4645

4746

4847
# -- Options for HTML output -------------------------------------------------
@@ -55,4 +54,4 @@
5554
# Add any paths that contain custom static files (such as style sheets) here,
5655
# relative to this directory. They are copied after the builtin static files,
5756
# so a file named "default.css" will overwrite the builtin "default.css".
58-
html_static_path = ['_static']
57+
html_static_path = ["_static"]

docs/new_features.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ You can also install the master (head of tree) version from GitHub, either using
88
Because pyscript has quite a few unit tests, generally the master version should work ok. But it's not
99
guaranteed to work at any random time, and newly-added features might change.
1010

11-
This is 1.7.0, released on December 08, 2025. Here is the `documentation
12-
<https://hacs-pyscript.readthedocs.io/en/1.7.0>`__ for that release. Here is the
11+
This is 2.0.0, released on May 2, 2026. Here is the `documentation
12+
<https://hacs-pyscript.readthedocs.io/en/2.0.0>`__ for that release. Here is the
1313
`stable documentation <https://hacs-pyscript.readthedocs.io/en/stable>`__ for
1414
the latest release.
1515

1616
Over time, the master (head of tree) version in GitHub will include new features and bug fixes.
1717
Here is the `latest documentation <https://hacs-pyscript.readthedocs.io/en/latest>`__ if you want
1818
to see the development version of the documentation.
1919

20-
If you want to see development progress since 1.7.0, look at the
20+
If you want to see development progress since 2.0.0, look at the
2121
`GitHub repository <https://github.com/custom-components/pyscript>`__.

0 commit comments

Comments
 (0)