Skip to content

Commit 3579213

Browse files
committed
update style/syntax per black & isort
1 parent 16f7218 commit 3579213

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

packages/checkfile/lektor_checkfile.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
# -*- coding: utf-8 -*-
2+
# Standard library
23
import os
4+
5+
# Third-party
36
from lektor.pluginsystem import Plugin
47

58

69
class CheckfilePlugin(Plugin):
710
name = "CheckFile"
8-
description = u"Plugin to check if a file is present."
11+
description = "Plugin to check if a file is present."
912

1013
def on_setup_env(self, **extra):
1114
def check_file(filename):

packages/checkfile/setup.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
# Standard library
12
import ast
23
import io
34
import re
45

5-
from setuptools import setup, find_packages
6+
# Third-party
7+
from setuptools import find_packages, setup
68

79
with io.open("README.md", "rt", encoding="utf8") as f:
810
readme = f.read()
@@ -35,6 +37,8 @@
3537
"Programming Language :: Python :: 3",
3638
],
3739
entry_points={
38-
"lektor.plugins": ["checkfile = lektor_checkfile:CheckfilePlugin",] # noqa: E231, E501
40+
"lektor.plugins": [
41+
"checkfile = lektor_checkfile:CheckfilePlugin",
42+
]
3943
},
4044
)

packages/markdown-table/lektor_markdown_table.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# -*- coding: utf-8 -*-
2+
# Third-party
23
from lektor.pluginsystem import Plugin
34

45

packages/markdown-table/setup.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
from setuptools import setup, find_packages
1+
# Standard library
22
from os import path
33

4+
# Third-party
5+
from setuptools import find_packages, setup
46

57
this_directory = path.abspath(path.dirname(__file__))
68
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:

0 commit comments

Comments
 (0)