Enforce import order

This commit is contained in:
Quantum 2020-09-27 00:59:19 -04:00
parent 0ecc367178
commit e201ee4442
3 changed files with 4 additions and 2 deletions

View file

@ -1,2 +1,4 @@
[flake8] [flake8]
max-line-length = 120 max-line-length = 120
application-import-names = win2xcur
import-order-style = pycharm

View file

@ -19,7 +19,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install flake8 mypy wheel pip install flake8 flake8-import-order mypy wheel
pip install -r requirements.txt pip install -r requirements.txt
sudo apt-get install x11-apps sudo apt-get install x11-apps
- name: Lint with flake8 - name: Lint with flake8

View file

@ -1,6 +1,6 @@
import os import os
from setuptools import setup, find_packages from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f: with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f:
long_description = f.read() long_description = f.read()