Skip to content

Commit 0ecd01f

Browse files
committed
Move Black-based auto-formatting to pre-commit
Disclaimer: Participation by NIST in the creation of the documentation of mentioned software is not intended to imply a recommendation or endorsement by the National Institute of Standards and Technology, nor is it intended to imply that any specific software is necessarily the best available for the purpose. References: * [AC-215] Evaluate pre-commit usage on casework repositories * [AC-216] Apply Black to all casework Python code bases * #37 Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
1 parent a170bb1 commit 0ecd01f

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

tests/Makefile

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,6 @@ check: \
6767
--ignore case_utils \
6868
--log-level=DEBUG
6969

70-
# TODO - Need to settle on policy for incorporating this and 'format' recipe into CI.
71-
# https://case.atlassian.net/browse/AC-215
72-
# https://case.atlassian.net/browse/AC-216
73-
check-black: \
74-
.venv.done.log
75-
source venv/bin/activate \
76-
&& black \
77-
--check \
78-
$(top_srcdir)/case_utils \
79-
$$PWD
80-
8170
check-case_utils: \
8271
.venv.done.log
8372
$(MAKE) \
@@ -112,13 +101,3 @@ clean:
112101

113102
download: \
114103
.venv.done.log
115-
116-
# TODO - Need to settle on policy for incorporating this and 'check-black' recipe into CI.
117-
# https://case.atlassian.net/browse/AC-215
118-
# https://case.atlassian.net/browse/AC-216
119-
format: \
120-
.venv.done.log
121-
source venv/bin/activate \
122-
&& black \
123-
$(top_srcdir)/case_utils \
124-
$$PWD

tests/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
PyLD
2-
black
32
mypy
43
pytest
54
python-dateutil

0 commit comments

Comments
 (0)