Skip to content

Commit 879e9bc

Browse files
committed
Clarify in docstrings that ScoringSystem is a literal string value
1 parent a4bd132 commit 879e9bc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

archeryutils/rounds.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def at_target( # noqa: PLR0913
6363
n_arrows : int
6464
number of arrows in this pass
6565
scoring_system : ScoringSystem
66-
target face/scoring system type
66+
Literal string value of target face/scoring system type.
6767
diameter : float or tuple of float, str
6868
Target diameter size (and units, default [cm])
6969
distance : float or tuple of float, str

archeryutils/targets.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ class Target:
8484
Parameters
8585
----------
8686
scoring_system : ScoringSystem
87-
target face/scoring system type. Must be one of the supported values.
87+
Literal string value of target face/scoring system type.
88+
Must be one of the supported values.
8889
diameter : float or tuple of float, str
8990
Target face diameter default [centimetres].
9091
distance : float or tuple of float, str

0 commit comments

Comments
 (0)