afwf_github 1.0.1__tar.gz → 1.0.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.
Files changed (29) hide show
  1. {afwf_github-1.0.1/afwf_github.egg-info → afwf_github-1.0.2}/PKG-INFO +1 -1
  2. {afwf_github-1.0.1 → afwf_github-1.0.2}/afwf_github/cli.py +3 -4
  3. {afwf_github-1.0.1 → afwf_github-1.0.2/afwf_github.egg-info}/PKG-INFO +1 -1
  4. {afwf_github-1.0.1 → afwf_github-1.0.2}/pyproject.toml +1 -1
  5. {afwf_github-1.0.1 → afwf_github-1.0.2}/AUTHORS.rst +0 -0
  6. {afwf_github-1.0.1 → afwf_github-1.0.2}/LICENSE.txt +0 -0
  7. {afwf_github-1.0.1 → afwf_github-1.0.2}/README.rst +0 -0
  8. {afwf_github-1.0.1 → afwf_github-1.0.2}/afwf_github/__init__.py +0 -0
  9. {afwf_github-1.0.1 → afwf_github-1.0.2}/afwf_github/api.py +0 -0
  10. {afwf_github-1.0.1 → afwf_github-1.0.2}/afwf_github/cache.py +0 -0
  11. {afwf_github-1.0.1 → afwf_github-1.0.2}/afwf_github/config.py +0 -0
  12. {afwf_github-1.0.1 → afwf_github-1.0.2}/afwf_github/constants.py +0 -0
  13. {afwf_github-1.0.1 → afwf_github-1.0.2}/afwf_github/dataset.py +0 -0
  14. {afwf_github-1.0.1 → afwf_github-1.0.2}/afwf_github/github.py +0 -0
  15. {afwf_github-1.0.1 → afwf_github-1.0.2}/afwf_github/paths.py +0 -0
  16. {afwf_github-1.0.1 → afwf_github-1.0.2}/afwf_github/type_hint.py +0 -0
  17. {afwf_github-1.0.1 → afwf_github-1.0.2}/afwf_github/vendor/__init__.py +0 -0
  18. {afwf_github-1.0.1 → afwf_github-1.0.2}/afwf_github/vendor/pytest_cov_helper.py +0 -0
  19. {afwf_github-1.0.1 → afwf_github-1.0.2}/afwf_github.egg-info/SOURCES.txt +0 -0
  20. {afwf_github-1.0.1 → afwf_github-1.0.2}/afwf_github.egg-info/dependency_links.txt +0 -0
  21. {afwf_github-1.0.1 → afwf_github-1.0.2}/afwf_github.egg-info/entry_points.txt +0 -0
  22. {afwf_github-1.0.1 → afwf_github-1.0.2}/afwf_github.egg-info/requires.txt +0 -0
  23. {afwf_github-1.0.1 → afwf_github-1.0.2}/afwf_github.egg-info/top_level.txt +0 -0
  24. {afwf_github-1.0.1 → afwf_github-1.0.2}/setup.cfg +0 -0
  25. {afwf_github-1.0.1 → afwf_github-1.0.2}/tests/test_api.py +0 -0
  26. {afwf_github-1.0.1 → afwf_github-1.0.2}/tests/test_cli.py +0 -0
  27. {afwf_github-1.0.1 → afwf_github-1.0.2}/tests/test_config.py +0 -0
  28. {afwf_github-1.0.1 → afwf_github-1.0.2}/tests/test_dataset.py +0 -0
  29. {afwf_github-1.0.1 → afwf_github-1.0.2}/tests/test_github.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: afwf_github
3
- Version: 1.0.1
3
+ Version: 1.0.2
4
4
  Summary: Alfred GitHub Workflow.
5
5
  Author-email: Sanhe Hu <husanhe@email.com>
6
6
  Maintainer-email: Sanhe Hu <husanhe@email.com>
@@ -109,9 +109,7 @@ class Command:
109
109
  """Load config from the default path (``~/.alfred-afwf/afwf_github/config.json``)."""
110
110
  return Config.load(path_enum.path_config_json)
111
111
 
112
- @afwf.log_error(
113
-
114
- )
112
+ @afwf.log_error()
115
113
  def edit_config(self) -> None:
116
114
  """Script Filter: open config.json in the default editor.
117
115
 
@@ -168,9 +166,10 @@ class Command:
168
166
  try:
169
167
  url = gwu.get_web_url(Path(path))
170
168
  item = afwf.Item(
171
- title=f"Open in browser: {url}",
169
+ title=f"Open in browser or Copy URL: {url}",
172
170
  subtitle=f"Local path: {path}",
173
171
  icon=afwf.Icon.from_image_file(path=afwf.IconFileEnum.internet),
172
+ arg=url,
174
173
  )
175
174
  item.open_url(url)
176
175
  except NotGitRepoError:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: afwf_github
3
- Version: 1.0.1
3
+ Version: 1.0.2
4
4
  Summary: Alfred GitHub Workflow.
5
5
  Author-email: Sanhe Hu <husanhe@email.com>
6
6
  Maintainer-email: Sanhe Hu <husanhe@email.com>
@@ -9,7 +9,7 @@ name = "afwf_github"
9
9
  # Currently, poetry 2.1.X doesn't support dynamic versioning
10
10
  # (Read https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#version)
11
11
  # So this value has to be aligned with the one in ``afwf_github/_version.py``
12
- version = "1.0.1"
12
+ version = "1.0.2"
13
13
  description = "Alfred GitHub Workflow."
14
14
  # Read https://dev-exp-share.readthedocs.io/en/latest/search.html?q=Pick+An+Open+Source+License+For+Python+Project&check_keywords=yes&area=default
15
15
  # To pick a license and update the ``license``, ``classifier`` field in ``pyproject.toml``
File without changes
File without changes
File without changes
File without changes