mirror of
https://github.com/Ralim/IronOS.git
synced 2025-07-22 12:00:35 +02:00
Add basic flake8
This commit is contained in:
3
.flake8
Normal file
3
.flake8
Normal file
@@ -0,0 +1,3 @@
|
||||
[flake8]
|
||||
ignore = E203, E266, E501, W503, F403, F401
|
||||
max-line-length = 200
|
3
.github/workflows/push.yml
vendored
3
.github/workflows/push.yml
vendored
@@ -87,3 +87,6 @@ jobs:
|
||||
|
||||
- name: Check python formatting with black
|
||||
run: black --check Translations
|
||||
|
||||
- name: Check python with flake8
|
||||
run: flake8 Translations
|
||||
|
2
setup.sh
2
setup.sh
@@ -2,7 +2,7 @@
|
||||
set -e
|
||||
# Setup shell file to setup the environment on an ubuntu machine
|
||||
sudo apt-get update && sudo apt-get install -y make bzip2 git python3 python3-pip wget
|
||||
python3 -m pip install bdflib black
|
||||
python3 -m pip install bdflib black flake8
|
||||
sudo mkdir -p /build
|
||||
cd /build
|
||||
|
||||
|
Reference in New Issue
Block a user