Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DuniterPy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
clients
python
DuniterPy
Commits
680e64a9
Commit
680e64a9
authored
6 years ago
by
Vincent Texier
Browse files
Options
Downloads
Patches
Plain Diff
[enh]
#54
add black as dev dependency and in MakeFile (check and black commands)
parent
31659fe7
No related branches found
No related tags found
1 merge request
!63
Black
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+6
-2
6 additions, 2 deletions
Makefile
requirements_dev.txt
+1
-0
1 addition, 0 deletions
requirements_dev.txt
with
7 additions
and
2 deletions
Makefile
+
6
−
2
View file @
680e64a9
.PHONY
:
docs tests check mypy pylint
.PHONY
:
docs tests check mypy pylint
black
# generate documentation
docs
:
...
...
@@ -9,7 +9,7 @@ tests:
python3
-m
unittest
${
TESTS_FILTER
}
# check
check
:
mypy pylint
check
:
mypy pylint
black
# check static typing
mypy
:
...
...
@@ -18,3 +18,7 @@ mypy:
# check code errors
pylint
:
pylint
--disable
=
C,R0913,R0903,R0902,R0914,R0912,R0915,W0613
--enable
=
C0121,C0202,C0321
--jobs
=
0 duniterpy/
# format code
black
:
black duniterpy
This diff is collapsed.
Click to expand it.
requirements_dev.txt
+
1
−
0
View file @
680e64a9
coveralls
mypy
pylint
black
sphinx
sphinx_rtd_theme
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