psytricks 2.2.0a0__tar.gz → 2.2.0a2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: psytricks
3
- Version: 2.2.0a0
3
+ Version: 2.2.0a2
4
4
  Summary: PowerShell Python Citrix Tricks.
5
5
  License: GPL-3.0-or-later
6
6
  Author: Niko Ehrenfeuchter
@@ -5,7 +5,7 @@ documentation = "https://imcf.one/apidocs/psytricks/psytricks.html"
5
5
  license = "GPL-3.0-or-later"
6
6
  name = "psytricks"
7
7
  readme = "README.md"
8
- version = "2.2.0-a.0"
8
+ version = "2.2.0-a.2"
9
9
 
10
10
  [tool.poetry.urls]
11
11
  "Changelog" = "https://github.com/imcf/psytricks/blob/main/CHANGELOG.md"
@@ -49,7 +49,7 @@ requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
49
49
  select = [
50
50
  "D",
51
51
  "D203", # blank line required before class docstring
52
- "D212", # summary lines msut be on the first physical line of the docstring
52
+ "D212", # summary lines must be on the first physical line of the docstring
53
53
  "D401", # imperative mood for all docstrings
54
54
  "D415", # summary line has to end in a punctuation mark
55
55
  "D417", # require documentation for _all_ function parameters
@@ -57,7 +57,8 @@ select = [
57
57
 
58
58
  ignore = [
59
59
  "D202", # no blank lines allowed after function docstring
60
- "D211", # no blank lines allowed before class docstring
60
+ ## D211 conflicts with ruff's formatting as of 2025-04-14, so don't use it:
61
+ # "D211", # no blank lines allowed before class docstring
61
62
  ]
62
63
 
63
64
 
@@ -3,7 +3,7 @@
3
3
  .. include:: ../../CHANGELOG.md
4
4
  """
5
5
 
6
- __version__ = "2.2.0-a.0"
6
+ __version__ = "2.2.0-a.2"
7
7
 
8
8
  # style exceptions for pdoc-include-only docstrings:
9
9
  # ruff: noqa: D400 (missing-trailing-period)
@@ -5,7 +5,7 @@ Collection of functions and other definitions to be sourced by other scripts.
5
5
  #>
6
6
 
7
7
  # the version variable will be filled by poetry at build time:
8
- $Version = "2.2.0-a.0"
8
+ $Version = "2.2.0-a.2"
9
9
 
10
10
 
11
11
  #region properties-selectors
@@ -26,7 +26,7 @@ param (
26
26
 
27
27
  [Parameter(
28
28
  ParameterSetName = "Startup",
29
- HelpMessage = "A logfile to use for the output (default: stdtout)."
29
+ HelpMessage = "A logfile to use for the output (default: stdout)."
30
30
  )]
31
31
  [string]
32
32
  $LogFile,
@@ -9,7 +9,9 @@ from .mappings import by_keyword
9
9
 
10
10
 
11
11
  def parse_powershell_json(json_dict):
12
- """Hook for `json.loads()` to process PowerShell 5.1 / Citrix JSON.
12
+ """Process PowerShell 5.1 / Citrix JSON.
13
+
14
+ Intended to be used as a hook for `json.loads()`.
13
15
 
14
16
  Windows PowerShell up to version 5.1 will produce strings in the format
15
17
  `/Date(<ms-since-epoch>)/` when converting a timestamp to JSON using the