Skip to content

Commit f86e53e

Browse files
[pre-commit.ci] pre-commit autoupdate (#1379)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 21.12b0 → 22.1.0](psf/black@21.12b0...22.1.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent a62e111 commit f86e53e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ repos:
3737
- id: black-disable-checker
3838
exclude: tests/unittest_nodes_lineno.py
3939
- repo: https://github.com/psf/black
40-
rev: 21.12b0
40+
rev: 22.1.0
4141
hooks:
4242
- id: black
4343
args: [--safe, --quiet]

astroid/modutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def _posix_path(path):
140140
return os.path.join(prefix, path, base_python)
141141

142142
STD_LIB_DIRS.add(_posix_path("lib"))
143-
if sys.maxsize > 2 ** 32:
143+
if sys.maxsize > 2**32:
144144
# This tries to fix a problem with /usr/lib64 builds,
145145
# where systems are running both 32-bit and 64-bit code
146146
# on the same machine, which reflects into the places where

astroid/protocols.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def _infer_unary_op(obj, op):
123123
"/": lambda a, b: a / b,
124124
"//": lambda a, b: a // b,
125125
"*": lambda a, b: a * b,
126-
"**": lambda a, b: a ** b,
126+
"**": lambda a, b: a**b,
127127
"%": lambda a, b: a % b,
128128
"&": lambda a, b: a & b,
129129
"|": lambda a, b: a | b,

0 commit comments

Comments
 (0)