Skip to content

Commit 48e39bf

Browse files
committed
chore(random): add pylint line limit, correct changelog date, and add test docstring
1 parent 4e8c29b commit 48e39bf

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.pylintrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[FORMAT]
2+
max-line-length=79

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Dates formatted as YYYY-MM-DD as per [ISO standard](https://www.iso.org/iso-8601-date-and-time-format.html).
77

8-
## v1.0.0 - 2025-01-27
8+
## v1.0.0 - 2025-02-27
99

1010
Lots and lots of changes! Many of these are a result of comments from peer review of code by Tom Monks.
1111

tests/test_unittest_replications.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ def test_klimit(look_ahead, n, exp):
6363
def test_algorithm_invalid(arg, value):
6464
"""
6565
Ensure that ReplicationsAlgorithm responds appropriately to invalid inputs.
66+
67+
Arguments:
68+
arg (string):
69+
Name of input for ReplicationsAlgorithm.
70+
value (float):
71+
Value of input to ReplicationsAlgorithm.
6672
"""
6773
with pytest.raises(ValueError):
6874
ReplicationsAlgorithm(**{arg: value})

0 commit comments

Comments
 (0)