Skip to content

Commit 6fdcc35

Browse files
author
desert
committed
Run pre-commit checks
1 parent 1168618 commit 6fdcc35

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/conf.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33

44
import os
55

6+
67
def read(*names, **kwargs):
78
with open(
8-
os.path.join(os.path.dirname(__file__), *names), encoding=kwargs.get("encoding", "utf8")
9+
os.path.join(os.path.dirname(__file__), *names),
10+
encoding=kwargs.get("encoding", "utf8"),
911
) as fh:
1012
return fh.read()
1113

1214

13-
1415
extensions = [
1516
"sphinx.ext.autodoc",
1617
"sphinx.ext.napoleon",
@@ -38,7 +39,7 @@ def read(*names, **kwargs):
3839
copyright = "{0}, {1}".format(year, author)
3940

4041
ns = {}
41-
exec(read('..', "src/desert/_version.py"), ns)
42+
exec(read("..", "src/desert/_version.py"), ns)
4243
version = release = ns["__version__"]
4344

4445

src/desert/_make.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,10 @@ class User:
5959
import dataclasses
6060
import datetime
6161
import decimal
62+
import enum
6263
import inspect
6364
import typing as t
64-
import typing
6565
import uuid
66-
import enum
6766

6867
import attr
6968
import marshmallow

0 commit comments

Comments
 (0)