File tree Expand file tree Collapse file tree 4 files changed +130
-98
lines changed Expand file tree Collapse file tree 4 files changed +130
-98
lines changed Original file line number Diff line number Diff line change 88 - name : setup python version
99 uses : actions/setup-python@v1
1010 with :
11- python-version : 3.7
11+ python-version : 3.9
1212 - name : Install dependencies
1313 run : |
1414 pip install pipenv
15- pipenv install
15+ pipenv sync
1616 pipenv run lektor build -f webpack
1717 - name : Deploy to production
1818 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"
44verify_ssl = true
55
66[packages ]
7- black = " ==19.10b0 "
7+ black = " ==20.8b1 "
88# Cryptography 3.4+ requires Rust to build
99# https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst
1010cryptography = " ==3.3.2"
1111flake8 = " *"
12+ isort = " *"
1213lektor = " *"
1314# Werkzeug added and pinned to mitigate this issue:
1415# https://github.com/nixjdm/lektor-atom/issues/23
1516Werkzeug = " ==0.16.1"
1617
1718[requires ]
18- python_version = " 3"
19+ python_version = " 3.9 "
Original file line number Diff line number Diff line change 11[tool .black ]
2- line-length = 79
3- exclude = '''
4- /(
5- \.git
6- | webpack
7- )/
2+ force-exclude = '''
3+ (
4+ /node_modules/
5+ | /venv/
6+ )
87'''
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