Skip to content

Commit 1919ad6

Browse files
committed
added tests
- and some sensible guard statements - checked for some edge cases - lengthened max-line-length defaults to be a little friendlier
1 parent 07ce128 commit 1919ad6

6 files changed

Lines changed: 213 additions & 19470 deletions

File tree

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[flake8]
2-
max-line-length = 100
2+
max-line-length = 120
33
# Equivalent to allow-init-docstring, which we set on pydoclint.
44
extend-ignore = DOC301,F401

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111
- client method to write search results to an XML file, with validation against expected number of records to be written
1212
- client method to return an iterator of XML records from a search, to support streaming results for large result sets
13-
- xml fixture files for future tests
13+
- xml fixture files for testing
14+
- tests for the new client methods, including edge cases for validation
1415

1516
### Changed
1617
- README examples
18+
- lengthened max-line-length for pylint/flake8 to 120 to accomodate added typing
1719

1820
### Deprecated
1921
- N/A

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,5 @@ allow-init-docstring = true
6161
skip-checking-raises = true
6262
style = "sphinx"
6363

64+
[tool.pylint.format]
65+
max-line-length = 120

0 commit comments

Comments
 (0)