File tree 4 files changed +130
-98
lines changed
4 files changed +130
-98
lines changed Original file line number Diff line number Diff line change 8
8
- name : setup python version
9
9
uses : actions/setup-python@v1
10
10
with :
11
- python-version : 3.7
11
+ python-version : 3.9
12
12
- name : Install dependencies
13
13
run : |
14
14
pip install pipenv
15
- pipenv install
15
+ pipenv sync
16
16
pipenv run lektor build -f webpack
17
17
- name : Deploy to production
18
18
if : github.ref == 'refs/heads/master'
Original file line number Diff line number Diff line change @@ -4,15 +4,16 @@ url = "https://pypi.org/simple"
4
4
verify_ssl = true
5
5
6
6
[packages ]
7
- black = " ==19.10b0 "
7
+ black = " ==20.8b1 "
8
8
# Cryptography 3.4+ requires Rust to build
9
9
# https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst
10
10
cryptography = " ==3.3.2"
11
11
flake8 = " *"
12
+ isort = " *"
12
13
lektor = " *"
13
14
# Werkzeug added and pinned to mitigate this issue:
14
15
# https://github.com/nixjdm/lektor-atom/issues/23
15
16
Werkzeug = " ==0.16.1"
16
17
17
18
[requires ]
18
- python_version = " 3"
19
+ python_version = " 3.9 "
Original file line number Diff line number Diff line change 1
1
[tool .black ]
2
- line-length = 79
3
- exclude = '''
4
- /(
5
- \.git
6
- | webpack
7
- )/
2
+ force-exclude = '''
3
+ (
4
+ /node_modules/
5
+ | /venv/
6
+ )
8
7
'''
8
+ line-length = 79
9
+ target-version = [' py38' ]
10
+
11
+
12
+ # [tool.flake8]
13
+ # config: .flake8
14
+ # also see: https://gitlab.com/pycqa/flake8/-/issues/428
15
+
16
+
17
+ [tool .isort ]
18
+ import_heading_firstparty = ' First-party/Local'
19
+ import_heading_future = ' Future'
20
+ import_heading_stdlib = ' Standard library'
21
+ import_heading_thirdparty = ' Third-party'
22
+ line_length = 79
23
+ multi_line_output = 3
24
+ no_lines_before = ' LOCALFOLDER'
25
+ profile = ' black'
You can’t perform that action at this time.
0 commit comments