Skip to content

Commit bd7ca53

Browse files
authored
Format code with Black and add a CI formatting check (#307)
1 parent 70aa61c commit bd7ca53

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2808
-1839
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ docs:
1616
@pipenv run sphinx-build -M html "./docs" "./docs/_build"
1717

1818

19+
.PHONY: format
20+
format:
21+
@pipenv run black .
22+
23+
1924
.PHONY: repl
2025
repl:
2126
@BASILISP_USE_DEV_LOGGER=true pipenv run basilisp repl

Pipfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ verify_ssl = true
44
name = "pypi"
55

66
[dev-packages]
7+
black = "*"
78
pytest-pycharm = "*"
89
sphinx = "*"
910
sphinx-rtd-theme = "*"
@@ -14,12 +15,15 @@ twine = "*"
1415
[packages]
1516
astor = "*"
1617
atomos = "*"
18+
basilisp = {editable = true, path = "."}
1719
click = "*"
1820
pyfunctional = "*"
1921
pyrsistent = "*"
2022
python-dateutil = "*"
21-
basilisp = {editable = true, path = "."}
2223
pytest = "*"
2324

2425
[requires]
2526
python_version = "3.6"
27+
28+
[pipenv]
29+
allow_prereleases = true

Pipfile.lock

Lines changed: 94 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)