Skip to content

Commit

Permalink
ci: upgrade pinned requirements (#85)
Browse files Browse the repository at this point in the history
* ci: temporary fix for pyright v1.1.151

Co-authored-by: GitHub <[email protected]>
  • Loading branch information
redeboer and web-flow authored Jun 21, 2021
1 parent fa1089d commit 4de669d
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .constraints/py3.6.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.6.txt
#
alabaster==0.7.12
anyio==3.1.0
anyio==3.2.0
appdirs==1.4.4
aquirdturtle-collapsible-headings==3.1.0
argon2-cffi==20.1.0
Expand Down Expand Up @@ -62,7 +62,7 @@ ipympl==0.7.0
ipython-genutils==0.2.0
ipython==7.16.1
ipywidgets==7.6.3
isort==5.8.0
isort==5.9.0
jedi==0.18.0
jinja2==3.0.1
json5==0.9.5
Expand Down
4 changes: 2 additions & 2 deletions .constraints/py3.7.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.7.txt
#
alabaster==0.7.12
anyio==3.1.0
anyio==3.2.0
appdirs==1.4.4
aquirdturtle-collapsible-headings==3.1.0
argon2-cffi==20.1.0
Expand Down Expand Up @@ -59,7 +59,7 @@ ipympl==0.7.0
ipython-genutils==0.2.0
ipython==7.24.1
ipywidgets==7.6.3
isort==5.8.0
isort==5.9.0
jedi==0.18.0
jinja2==3.0.1
json5==0.9.5
Expand Down
4 changes: 2 additions & 2 deletions .constraints/py3.8.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.8.txt
#
alabaster==0.7.12
anyio==3.1.0
anyio==3.2.0
appdirs==1.4.4
aquirdturtle-collapsible-headings==3.1.0
argon2-cffi==20.1.0
Expand Down Expand Up @@ -59,7 +59,7 @@ ipympl==0.7.0
ipython-genutils==0.2.0
ipython==7.24.1
ipywidgets==7.6.3
isort==5.8.0
isort==5.9.0
jedi==0.18.0
jinja2==3.0.1
json5==0.9.5
Expand Down
4 changes: 2 additions & 2 deletions .constraints/py3.9.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.9.txt
#
alabaster==0.7.12
anyio==3.1.0
anyio==3.2.0
appdirs==1.4.4
aquirdturtle-collapsible-headings==3.1.0
argon2-cffi==20.1.0
Expand Down Expand Up @@ -59,7 +59,7 @@ ipympl==0.7.0
ipython-genutils==0.2.0
ipython==7.24.1
ipywidgets==7.6.3
isort==5.8.0
isort==5.9.0
jedi==0.18.0
jinja2==3.0.1
json5==0.9.5
Expand Down
1 change: 1 addition & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"determinator",
"determinators",
"docstrings",
"façade",
"fermionic",
"flatté",
"functors",
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ repos:
- id: blacken-docs

- repo: https://github.com/ComPWA/mirrors-cspell
rev: v5.6.4
rev: v5.6.6
hooks:
- id: cspell

Expand Down Expand Up @@ -87,7 +87,7 @@ repos:
language_version: 12.18.2 # prettier does not specify node correctly

- repo: https://github.com/ComPWA/mirrors-pyright
rev: v1.1.149
rev: v1.1.150
hooks:
- id: pyright

Expand Down
7 changes: 4 additions & 3 deletions src/ampform/dynamics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,11 @@ def coupled_width( # pylint: disable=too-many-arguments
that case, one needs an additional factor :math:`\left(q/q_0\right)^{2L}`
in the definition for :math:`\Gamma(m)`.
"""
if phsp_factor is not None:
verify_signature(phsp_factor, PhaseSpaceFactor)
else:
if phsp_factor is None:
phsp_factor = phase_space_factor
else:
verify_signature(phsp_factor, PhaseSpaceFactor)
assert phsp_factor is not None # pyright v1.1.151
q_squared = breakup_momentum_squared(s, m_a, m_b)
q0_squared = breakup_momentum_squared(mass0 ** 2, m_a, m_b)
form_factor_sq = BlattWeisskopfSquared(
Expand Down

0 comments on commit 4de669d

Please sign in to comment.