Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
picodata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
picodata
Commits
c09cba98
Commit
c09cba98
authored
2 years ago
by
Valentin Syrovatskiy
Browse files
Options
Downloads
Patches
Plain Diff
chore: developer's tools and commands
parent
9e32a42c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!153
python developer's tools and commands
Pipeline
#7217
passed
2 years ago
Stage: build
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.tool-versions
+1
-0
1 addition, 0 deletions
.tool-versions
Makefile
+14
-1
14 additions, 1 deletion
Makefile
Pipfile
+5
-0
5 additions, 0 deletions
Pipfile
with
20 additions
and
1 deletion
.tool-versions
0 → 100644
+
1
−
0
View file @
c09cba98
python 3.10.5
This diff is collapsed.
Click to expand it.
Makefile
+
14
−
1
View file @
c09cba98
.PHONY
:
default lint test
.PHONY
:
default
fmt
lint test
check fat
default
:
;
fmt
:
cargo
fmt
pipenv run
fmt
lint
:
cargo
fmt
--check
cargo check
...
...
@@ -11,3 +15,12 @@ lint:
test
:
cargo
test
pipenv run pytest
check
:
@$(
MAKE
)
lint
--no-print-directory
@$(
MAKE
)
test
--no-print-directory
fat
:
@$(
MAKE
)
fmt
--no-print-directory
@$(
MAKE
)
lint
--no-print-directory
@$(
MAKE
)
test
--no-print-directory
This diff is collapsed.
Click to expand it.
Pipfile
+
5
−
0
View file @
c09cba98
...
...
@@ -17,6 +17,11 @@ pytest-clarity = "*"
python_version
=
"3.10"
[scripts]
fmt
=
"""bash -c "
set -e -x
pipenv run black ./test
"
"""
lint
=
"""bash -c "
set -e -x
pipenv run flake8 ./test
...
...
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