Skip to content

Commit 8a27446

Browse files
committed
Update newlines, python version, and use grep
1 parent f3d8a85 commit 8a27446

File tree

15 files changed

+45
-45
lines changed

15 files changed

+45
-45
lines changed

_delphi_utils_python/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.PHONY = venv, lint, test, clean
22

3-
dir = $(shell find ./delphi_* -name __init__.py | sed 's/\/__init__.py//g;s/\.\///g')
3+
dir = $(shell find ./delphi_* -name __init__.py | grep -o 'delphi_[_[:alnum:]]*')
44

55
venv:
6-
python3 -m venv env
6+
python3.8 -m venv env
77

88
install: venv
99
. env/bin/activate; \
@@ -19,4 +19,4 @@ test:
1919
(cd tests && ../env/bin/pytest --cov=$(dir) --cov-report=term-missing)
2020

2121
clean:
22-
rm -r env
22+
rm -r env

_template_python/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.PHONY = venv, lint, test, clean
22

3-
dir = $(shell find ./delphi_* -name __init__.py | sed 's/\/__init__.py//g;s/\.\///g')
3+
dir = $(shell find ./delphi_* -name __init__.py | grep -o 'delphi_[_[:alnum:]]*')
44

55
venv:
6-
python3 -m venv env
6+
python3.8 -m venv env
77

88
install: venv
99
. env/bin/activate; \
@@ -20,4 +20,4 @@ test:
2020
(cd tests && ../env/bin/pytest --cov=$(dir) --cov-report=term-missing)
2121

2222
clean:
23-
rm -r env
23+
rm -r env

cdc_covidnet/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.PHONY = venv, lint, test, clean
22

3-
dir = $(shell find ./delphi_* -name __init__.py | sed 's/\/__init__.py//g;s/\.\///g')
3+
dir = $(shell find ./delphi_* -name __init__.py | grep -o 'delphi_[_[:alnum:]]*')
44

55
venv:
6-
python3 -m venv env
6+
python3.8 -m venv env
77

88
install: venv
99
. env/bin/activate; \
@@ -20,4 +20,4 @@ test:
2020
(cd tests && ../env/bin/pytest --cov=$(dir) --cov-report=term-missing)
2121

2222
clean:
23-
rm -r env
23+
rm -r env

changehc/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.PHONY = venv, lint, test, clean
22

3-
dir = $(shell find ./delphi_* -name __init__.py | sed 's/\/__init__.py//g;s/\.\///g')
3+
dir = $(shell find ./delphi_* -name __init__.py | grep -o 'delphi_[_[:alnum:]]*')
44

55
venv:
6-
python3 -m venv env
6+
python3.8 -m venv env
77

88
install: venv
99
. env/bin/activate; \
@@ -20,4 +20,4 @@ test:
2020
(cd tests && ../env/bin/pytest --cov=$(dir) --cov-report=term-missing)
2121

2222
clean:
23-
rm -r env
23+
rm -r env

claims_hosp/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.PHONY = venv, lint, test, clean
22

3-
dir = $(shell find ./delphi_* -name __init__.py | sed 's/\/__init__.py//g;s/\.\///g')
3+
dir = $(shell find ./delphi_* -name __init__.py | grep -o 'delphi_[_[:alnum:]]*')
44

55
venv:
6-
python3 -m venv env
6+
python3.8 -m venv env
77

88
install: venv
99
. env/bin/activate; \
@@ -20,4 +20,4 @@ test:
2020
(cd tests && ../env/bin/pytest --cov=$(dir) --cov-report=term-missing)
2121

2222
clean:
23-
rm -r env
23+
rm -r env

combo_cases_and_deaths/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.PHONY = venv, lint, test, clean
22

3-
dir = $(shell find ./delphi_* -name __init__.py | sed 's/\/__init__.py//g;s/\.\///g')
3+
dir = $(shell find ./delphi_* -name __init__.py | grep -o 'delphi_[_[:alnum:]]*')
44

55
venv:
6-
python3 -m venv env
6+
python3.8 -m venv env
77

88
install: venv
99
. env/bin/activate; \
@@ -20,4 +20,4 @@ test:
2020
(cd tests && ../env/bin/pytest --cov=$(dir) --cov-report=term-missing)
2121

2222
clean:
23-
rm -r env
23+
rm -r env

google_health/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.PHONY = venv, lint, test, clean
22

3-
dir = $(shell find ./delphi_* -name __init__.py | sed 's/\/__init__.py//g;s/\.\///g')
3+
dir = $(shell find ./delphi_* -name __init__.py | grep -o 'delphi_[_[:alnum:]]*')
44

55
venv:
6-
python3 -m venv env
6+
python3.8 -m venv env
77

88
install: venv
99
. env/bin/activate; \
@@ -20,4 +20,4 @@ test:
2020
(cd tests && ../env/bin/pytest --cov=$(dir) --cov-report=term-missing)
2121

2222
clean:
23-
rm -r env
23+
rm -r env

google_symptoms/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.PHONY = venv, lint, test, clean
22

3-
dir = $(shell find ./delphi_* -name __init__.py | sed 's/\/__init__.py//g;s/\.\///g')
3+
dir = $(shell find ./delphi_* -name __init__.py | grep -o 'delphi_[_[:alnum:]]*')
44

55
venv:
6-
python3 -m venv env
6+
python3.8 -m venv env
77

88
install: venv
99
. env/bin/activate; \
@@ -20,4 +20,4 @@ test:
2020
(cd tests && ../env/bin/pytest --cov=$(dir) --cov-report=term-missing)
2121

2222
clean:
23-
rm -r env
23+
rm -r env

jhu/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.PHONY = venv, lint, test, clean
22

3-
dir = $(shell find ./delphi_* -name __init__.py | sed 's/\/__init__.py//g;s/\.\///g')
3+
dir = $(shell find ./delphi_* -name __init__.py | grep -o 'delphi_[_[:alnum:]]*')
44

55
venv:
6-
python3 -m venv env
6+
python3.8 -m venv env
77

88
install: venv
99
. env/bin/activate; \
@@ -20,4 +20,4 @@ test:
2020
(cd tests && ../env/bin/pytest --cov=$(dir) --cov-report=term-missing)
2121

2222
clean:
23-
rm -r env
23+
rm -r env

nchs_mortality/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.PHONY = venv, lint, test, clean
22

3-
dir = $(shell find ./delphi_* -name __init__.py | sed 's/\/__init__.py//g;s/\.\///g')
3+
dir = $(shell find ./delphi_* -name __init__.py | grep -o 'delphi_[_[:alnum:]]*')
44

55
venv:
6-
python3 -m venv env
6+
python3.8 -m venv env
77

88
install: venv
99
. env/bin/activate; \
@@ -20,4 +20,4 @@ test:
2020
(cd tests && ../env/bin/pytest --cov=$(dir) --cov-report=term-missing)
2121

2222
clean:
23-
rm -r env
23+
rm -r env

quidel/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.PHONY = venv, lint, test, clean
22

3-
dir = $(shell find ./delphi_* -name __init__.py | sed 's/\/__init__.py//g;s/\.\///g')
3+
dir = $(shell find ./delphi_* -name __init__.py | grep -o 'delphi_[_[:alnum:]]*')
44

55
venv:
6-
python3 -m venv env
6+
python3.8 -m venv env
77

88
install: venv
99
. env/bin/activate; \
@@ -20,4 +20,4 @@ test:
2020
(cd tests && ../env/bin/pytest --cov=$(dir) --cov-report=term-missing)
2121

2222
clean:
23-
rm -r env
23+
rm -r env

quidel_covidtest/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.PHONY = venv, lint, test, clean
22

3-
dir = $(shell find ./delphi_* -name __init__.py | sed 's/\/__init__.py//g;s/\.\///g')
3+
dir = $(shell find ./delphi_* -name __init__.py | grep -o 'delphi_[_[:alnum:]]*')
44

55
venv:
6-
python3 -m venv env
6+
python3.8 -m venv env
77

88
install: venv
99
. env/bin/activate; \
@@ -20,4 +20,4 @@ test:
2020
(cd tests && ../env/bin/pytest --cov=$(dir) --cov-report=term-missing)
2121

2222
clean:
23-
rm -r env
23+
rm -r env

safegraph/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.PHONY = venv, lint, test, clean
22

3-
dir = $(shell find ./delphi_* -name __init__.py | sed 's/\/__init__.py//g;s/\.\///g')
3+
dir = $(shell find ./delphi_* -name __init__.py | grep -o 'delphi_[_[:alnum:]]*')
44

55
venv:
6-
python3 -m venv env
6+
python3.8 -m venv env
77

88
install: venv
99
. env/bin/activate; \
@@ -20,4 +20,4 @@ test:
2020
(cd tests && ../env/bin/pytest --cov=$(dir) --cov-report=term-missing)
2121

2222
clean:
23-
rm -r env
23+
rm -r env

safegraph_patterns/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.PHONY = venv, lint, test, clean
22

3-
dir = $(shell find ./delphi_* -name __init__.py | sed 's/\/__init__.py//g;s/\.\///g')
3+
dir = $(shell find ./delphi_* -name __init__.py | grep -o 'delphi_[_[:alnum:]]*')
44

55
venv:
6-
python3 -m venv env
6+
python3.8 -m venv env
77

88
install: venv
99
. env/bin/activate; \
@@ -20,4 +20,4 @@ test:
2020
(cd tests && ../env/bin/pytest --cov=$(dir) --cov-report=term-missing)
2121

2222
clean:
23-
rm -r env
23+
rm -r env

usafacts/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.PHONY = venv, lint, test, clean
22

3-
dir = $(shell find ./delphi_* -name __init__.py | sed 's/\/__init__.py//g;s/\.\///g')
3+
dir = $(shell find ./delphi_* -name __init__.py | grep -o 'delphi_[_[:alnum:]]*')
44

55
venv:
6-
python3 -m venv env
6+
python3.8 -m venv env
77

88
install: venv
99
. env/bin/activate; \
@@ -20,4 +20,4 @@ test:
2020
(cd tests && ../env/bin/pytest --cov=$(dir) --cov-report=term-missing)
2121

2222
clean:
23-
rm -r env
23+
rm -r env

0 commit comments

Comments
 (0)