mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-21 15:08:12 +00:00
ci: enable editorconfig checks, fix whitespace issues
This commit is contained in:
parent
473fb1a3a6
commit
50fdd183c2
5
Makefile
5
Makefile
@ -9,7 +9,7 @@ PY_FILES = $(shell find . -type f -name '*.py' | grep -f ./tools/style.py.incl
|
||||
C_FILES = $(shell find . -type f -name '*.[ch]' | grep -f ./tools/style.c.include | grep -v -f ./tools/style.c.exclude )
|
||||
|
||||
|
||||
style_check: pystyle_check cstyle_check changelog_check yaml_check ## run all style checks (C+Py)
|
||||
style_check: pystyle_check cstyle_check changelog_check yaml_check editor_check ## run all style checks (C+Py)
|
||||
|
||||
style: pystyle cstyle changelog ## apply all code styles (C+Py)
|
||||
|
||||
@ -45,6 +45,9 @@ changelog_check: ## check changelog format
|
||||
yaml_check: ## check yaml formatting
|
||||
yamllint .
|
||||
|
||||
editor_check: ## check editorconfig formatting
|
||||
editorconfig-checker -exclude '.*\.(so|dat|toif|der)'
|
||||
|
||||
changelog: ## fill out issue links in changelog
|
||||
./tools/linkify-changelogs.py
|
||||
|
||||
|
@ -4,5 +4,5 @@ This is pretty easy to print. First open ```base.scad``` with OpenSCAD and
|
||||
export your ```.stl``` file with it.
|
||||
|
||||
Open it with your slider, we are using
|
||||
Original Priska i3 MK3 to print our models. 0.15mm quality setting with standard
|
||||
Original Prusa i3 MK3 to print our models. 0.15mm quality setting with standard
|
||||
PLA works fine for us.
|
||||
|
@ -17,6 +17,11 @@ gen prebuild:
|
||||
script:
|
||||
- nix-shell --run "poetry run make gen_check"
|
||||
|
||||
editor prebuild:
|
||||
stage: prebuild
|
||||
script:
|
||||
- nix-shell --run "make editor_check"
|
||||
|
||||
yaml prebuild:
|
||||
stage: prebuild
|
||||
script:
|
||||
|
@ -37,6 +37,7 @@ stdenv.mkDerivation ({
|
||||
bash
|
||||
check
|
||||
clang-tools
|
||||
editorconfig-checker
|
||||
gcc
|
||||
gcc-arm-embedded
|
||||
git
|
||||
|
@ -92,7 +92,6 @@ message TxOutputType {
|
||||
optional MultisigRedeemScriptType multisig = 5; // multisig output definition
|
||||
optional bytes op_return_data = 6; // defines op_return data
|
||||
optional uint32 decred_script_version = 7; // only for Decred
|
||||
|
||||
```
|
||||
|
||||
All outputs must have an `amount` and a `script_type`.
|
||||
|
Loading…
Reference in New Issue
Block a user