Skip to content

Commit d84a97b

Browse files
authored
Merge pull request #55 from jepler/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 691b96d + b25a006 commit d84a97b

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ repos:
1818
- id: end-of-file-fixer
1919
- id: trailing-whitespace
2020
- repo: https://github.com/pycqa/pylint
21-
rev: v3.2.7
21+
rev: v3.3.0
2222
hooks:
2323
- id: pylint
2424
name: lint (examples)
2525
types: [python]
2626
files: ^examples/
2727
args:
28-
- --disable=missing-docstring,invalid-name,bad-whitespace
28+
- --disable=missing-docstring,invalid-name
2929
- id: pylint
3030
name: lint (code)
3131
types: [python]

examples/udecimal_moneyfmt.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
from jepler_udecimal import Decimal
99

1010

11-
def moneyfmt(value, places=2, curr="", sep=",", dp=".", pos="", neg="-", trailneg=""):
11+
def moneyfmt(
12+
value, *, places=2, curr="", sep=",", dp=".", pos="", neg="-", trailneg=""
13+
):
1214
"""Convert Decimal to a money formatted string.
1315
1416
places: required number of places after the decimal point

jepler_udecimal/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3357,7 +3357,7 @@ class Context(object):
33573357
:param bool clamp: If true, change exponents if too high
33583358
"""
33593359

3360-
def __init__(
3360+
def __init__( # pylint: disable=too-many-positional-arguments
33613361
self,
33623362
prec=None,
33633363
rounding=None,

0 commit comments

Comments
 (0)