PyLinks 0.0.0.dev62__py3-none-any.whl → 0.0.0.dev64__py3-none-any.whl

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,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PyLinks
3
- Version: 0.0.0.dev62
3
+ Version: 0.0.0.dev64
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: requests<3,>=2.31.0
6
- Requires-Dist: ExceptionMan==0.0.0.dev49
7
- Requires-Dist: MDit==0.0.0.dev49
6
+ Requires-Dist: ExceptionMan==0.0.0.dev51
7
+ Requires-Dist: MDit==0.0.0.dev51
@@ -6,7 +6,7 @@ pylinks/string.py,sha256=yoORoiILKAKzzfDw-bwePBTwb3Shr_RvOSB2tdEZuSU,1397
6
6
  pylinks/url.py,sha256=4YzmNn0U1nzWmcdzEW6RKaZd5uu-MZRimHGl5Xi60Cg,7815
7
7
  pylinks/api/__init__.py,sha256=q7hhZabjTajBYxDxzJy44y8Rx_-5sye9VnVnkytIua8,488
8
8
  pylinks/api/doi.py,sha256=7YnMqy4_Ct2sw9Wz4mQC5S4xAahwh6fMUPKAx_qqj-M,5899
9
- pylinks/api/github.py,sha256=aykNCvHJlWYKWnYeZL97j1xP6oQqpf3qeJuyROVBdqc,83383
9
+ pylinks/api/github.py,sha256=xtP4GxFa8wVRjeqbCKY-U-oAu6cYlFMZQ22qU6Dt3Lg,83316
10
10
  pylinks/api/orcid.py,sha256=e0DAuziq7HdGJ4BJOI28mo1emB4_7gPsLxR7VsYPYMA,1377
11
11
  pylinks/api/zenodo.py,sha256=NcWOrFM0-3hMlIzS2mN1-5addJ-A7QDAFPcZWGedquQ,8375
12
12
  pylinks/exception/__init__.py,sha256=tU-LvaYi4NsLEZeeUN-JjemhefJ6R_DG37fIMoaZ5a4,89
@@ -23,7 +23,7 @@ pylinks/site/pypi.py,sha256=-NSglDo-k55bALi-aN0iF2I6z1WXsjYOIVDyjNUxuuU,1944
23
23
  pylinks/site/readthedocs.py,sha256=_s27ETa3oRoeDdQvFrrtuSh2my6cjWEIEVhwHz0yZ90,1797
24
24
  pylinks/uri/__init__.py,sha256=W38fMHGgV7mg8uPWC8IMWGgmlCQO9VHIqNpInG2NS2I,29
25
25
  pylinks/uri/data.py,sha256=uD1CipMo4oFpxH8liOY24PsxMyuR5kEH2a0XDkO1dgI,6380
26
- PyLinks-0.0.0.dev62.dist-info/METADATA,sha256=G7Ew9prm63SSK9fpukpS9Zd6VthKdh5J2Td-bVMRpH8,190
27
- PyLinks-0.0.0.dev62.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
28
- PyLinks-0.0.0.dev62.dist-info/top_level.txt,sha256=LlaTHnPw89VppYU3vCciF81IOSzvc16RkdNkOCqhAcs,8
29
- PyLinks-0.0.0.dev62.dist-info/RECORD,,
26
+ PyLinks-0.0.0.dev64.dist-info/METADATA,sha256=r32WwBGQsq5kHnMslgKR7AWp6EqvLn7occkB3b1peco,190
27
+ PyLinks-0.0.0.dev64.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
28
+ PyLinks-0.0.0.dev64.dist-info/top_level.txt,sha256=LlaTHnPw89VppYU3vCciF81IOSzvc16RkdNkOCqhAcs,8
29
+ PyLinks-0.0.0.dev64.dist-info/RECORD,,
pylinks/api/github.py CHANGED
@@ -1641,13 +1641,13 @@ class Repo:
1641
1641
  "bypass_mode": 'always' if always_bypass else 'pull_request'
1642
1642
  } for actor_id, actor_type, always_bypass in bypass_actors
1643
1643
  ]
1644
- if ref_name_include is not None:
1644
+ if ref_name_include is not None or ref_name_exclude is not None:
1645
1645
  data["conditions"] = {
1646
- "ref_name": {"include": ref_name_include}
1646
+ "ref_name": {
1647
+ "include": ref_name_include or [],
1648
+ "exclude": ref_name_exclude or []
1649
+ }
1647
1650
  }
1648
- if ref_name_exclude is not None:
1649
- ref_name_conditions = data.setdefault("conditions", {}).setdefault("ref_name", {})
1650
- ref_name_conditions["exclude"] = ref_name_exclude
1651
1651
  rules = []
1652
1652
  update_rules = False
1653
1653
  if creation is not None: