pyselfupdate 0.3.0__tar.gz → 0.3.1__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.3
2
2
  Name: pyselfupdate
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Self-update and update notification for Python CLIs installed with uv tool
5
5
  Keywords: uv,cli,self-update,update-notifier,release
6
6
  Author: Chris Birch
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pyselfupdate"
3
- version = "0.3.0"
3
+ version = "0.3.1"
4
4
  description = "Self-update and update notification for Python CLIs installed with uv tool"
5
5
  readme = "README.md"
6
6
  keywords = [
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pyselfupdate"
3
- version = "0.3.0"
3
+ version = "0.3.1"
4
4
  description = "Self-update and update notification for Python CLIs installed with uv tool"
5
5
  authors = [{ name = "Chris Birch", email = "datapointchris@gmail.com" }]
6
6
  license = { text = "MIT" }
@@ -29,9 +29,11 @@ API = 'https://api.github.com'
29
29
  DEFAULT_TIMEOUT = 10.0
30
30
 
31
31
 
32
- TOKEN_COMMAND_ENV = 'GITHUB_TOKEN_COMMAND'
32
+ # B105 reads any name carrying "token" as a credential. Both hold the name of a
33
+ # variable and the text of a command; neither ever holds a secret.
34
+ TOKEN_COMMAND_ENV = 'GITHUB_TOKEN_COMMAND' # nosec B105
33
35
 
34
- DEFAULT_TOKEN_COMMAND = 'gh auth token'
36
+ DEFAULT_TOKEN_COMMAND = 'gh auth token' # nosec B105
35
37
  """What runs when nothing overrides it.
36
38
 
37
39
  Authenticating is the default because the alternative is not "no credential" but
File without changes