File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,14 @@ Changelog
5
5
6
6
Versions follow `CalVer <http://www.calver.org/ >`_ with the scheme ``YY.0M.Micro ``.
7
7
8
+ `2024.06.0 `_ - 2024/06/04
9
+ -------------------------
10
+ Changed
11
+ ~~~~~~~
12
+ * Stop using the "elfprooef" algorithm when validating Dutch IBANs, since the administrative
13
+ authority says it should not be checked any more.
14
+
15
+
8
16
`2024.05.4 `_ - 2024/05/25
9
17
-------------------------
10
18
Added
@@ -640,6 +648,7 @@ Added
640
648
* Added :attr: `.BIC.country ` and :attr: `.IBAN.country `.
641
649
642
650
651
+ .. _2024.06.0 : https://github.com/mdomke/schwifty/compare/2024.05.4...2024.06.0
643
652
.. _2024.05.4 : https://github.com/mdomke/schwifty/compare/2024.05.3...2024.05.4
644
653
.. _2024.05.3 : https://github.com/mdomke/schwifty/compare/2024.05.2...2024.05.3
645
654
.. _2024.05.2 : https://github.com/mdomke/schwifty/compare/2024.05.1...2024.05.2
Original file line number Diff line number Diff line change 6
6
from schwifty .domain import Component
7
7
8
8
9
- @checksum .register ("NL" )
10
9
class DefaultAlgorithm (checksum .Algorithm ):
10
+ """This algorithm is not used anymore for Dutch IBANs and is therefore not registered anymore.
11
+
12
+ See https://www.betaalvereniging.nl/betaalproducten-en-diensten/iban/ibannext/ for more
13
+ information
14
+ """
15
+
11
16
name = "default"
12
17
accepts : ClassVar [list [Component ]] = [Component .ACCOUNT_CODE ]
13
18
Original file line number Diff line number Diff line change @@ -103,9 +103,5 @@ def test_belgium_checksum_checksum_edge_case() -> None:
103
103
assert algorithms ["BE:default" ].validate (["050" , "0000177" ], "97" ) is True
104
104
105
105
106
- def test_netherlands_checksum () -> None :
107
- assert algorithms ["NL:default" ].validate (["0417164300" ], "" ) is True
108
-
109
-
110
106
def test_norway_checksum_checksum_edge_case () -> None :
111
107
assert algorithms ["NO:default" ].validate (["6042" , "143964" ], "0" ) is True
You can’t perform that action at this time.
0 commit comments