mirror of
https://github.com/mii443/tokenizers.git
synced 2025-12-08 13:48:19 +00:00
Python - Add check-style to Makefile
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
.PHONY: style
|
.PHONY: style check-style
|
||||||
|
|
||||||
# Format source code automatically
|
# Format source code automatically
|
||||||
|
|
||||||
style:
|
style:
|
||||||
black --line-length 100 --target-version py35 examples tokenizers
|
black --line-length 100 --target-version py35 examples tokenizers
|
||||||
|
|
||||||
|
check-style:
|
||||||
|
black --check --line-length 100 --target-version py35 examples tokenizers
|
||||||
|
|||||||
Reference in New Issue
Block a user