Skip to content

Commit e62b3b6

Browse files
committed
style: black format
1 parent da4e9e5 commit e62b3b6

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
docker-compose.y*ml
55
.coverage
66
*.egg-info
7+
.idea/
78
dist
89
build
910
docs/_build

pharus/interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ def _filter_to_restriction(attribute_filter: dict, attribute_type: str) -> str:
517517
operation = " IS " if attribute_filter["operation"] == "=" else " IS NOT "
518518
else:
519519
operation = attribute_filter["operation"]
520-
520+
521521
if (
522522
re.match(r"^datetime.*$", attribute_type)
523523
or re.match(r"timestamp", attribute_type)

setup.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@
1414

1515
with open(path.join(here, "requirements.txt")) as f:
1616
requirements = [
17-
"{pkg} @ {target}#egg={pkg}".format(
18-
pkg=re.search(r"/([A-Za-z0-9\-]+)\.git", r).group(1), target=r
17+
(
18+
"{pkg} @ {target}#egg={pkg}".format(
19+
pkg=re.search(r"/([A-Za-z0-9\-]+)\.git", r).group(1), target=r
20+
)
21+
if "+" in r
22+
else r
1923
)
20-
if "+" in r
21-
else r
2224
for r in f.read().splitlines()
2325
if "#" not in r
2426
]

0 commit comments

Comments
 (0)