Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flow3r
flow3r firmware
Commits
cc1ed780
Commit
cc1ed780
authored
1 year ago
by
q3k
Browse files
Options
Downloads
Patches
Plain Diff
ci: run black
parent
69f8221b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!23
ci: v2 (docker, linting/checks)
Pipeline
#5781
passed
1 year ago
Stage: check
Stage: build
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
nix/docker-image.nix
+6
-1
6 additions, 1 deletion
nix/docker-image.nix
nix/pkgs.nix
+1
-0
1 addition, 0 deletions
nix/pkgs.nix
tools/format.sh
+7
-0
7 additions, 0 deletions
tools/format.sh
with
15 additions
and
2 deletions
.gitlab-ci.yml
+
1
−
1
View file @
cc1ed780
...
...
@@ -8,7 +8,7 @@ variables:
default
:
# built via:
# docker load < $(nix-build nix/docker-image.nix)
image
:
registry.k0.hswaw.net/q3k/flow3r-build:
xm5xqlpswrnav5pi36qjphyg8v7gplik
image
:
registry.k0.hswaw.net/q3k/flow3r-build:
kvy1jakg8i4jxx4skhpy6si3vvslsgrb
clang-tidy
:
stage
:
check
...
...
This diff is collapsed.
Click to expand it.
nix/docker-image.nix
+
6
−
1
View file @
cc1ed780
...
...
@@ -18,8 +18,13 @@ pkgs.dockerTools.buildImage {
mypy
(
python3
.
withPackages
(
ps
:
with
ps
;
[
sphinx
sphinx_rtd_theme
black
]))
# random build tools
python3
gcc
gnused
findutils
gnugrep
gcc
gnused
findutils
gnugrep
git
wget
gnumake
cmake
ninja
pkgconfig
];
...
...
This diff is collapsed.
Click to expand it.
nix/pkgs.nix
+
1
−
0
View file @
cc1ed780
...
...
@@ -24,6 +24,7 @@ in with nixpkgs; rec {
python3Packages
.
sphinx
python3Packages
.
sphinx_rtd_theme
python3Packages
.
black
mypy
];
fwdev
=
fwbuild
++
[
...
...
This diff is collapsed.
Click to expand it.
tools/format.sh
+
7
−
0
View file @
cc1ed780
#!/usr/bin/env bash
set
-e
-x
# Python: black
black
\
python_payload
\
sim
\
tools
# C: clang-format
find
.
\
-type
d
\
\(
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment