forked from flinteger/dnss-blocklists
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (19 loc) · 675 Bytes
/
Makefile
File metadata and controls
22 lines (19 loc) · 675 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.PHONY: all setup lint
all:
./scripts/process_all.sh
setup:
# python 3.8 is required
pip3 install -r requirements.txt
lint:
jsonschema -i sources/ad.json sources/schema.json
jsonschema -i sources/dating.json sources/schema.json
jsonschema -i sources/gambling.json sources/schema.json
jsonschema -i sources/malicious.json sources/schema.json
jsonschema -i sources/piracy.json sources/schema.json
jsonschema -i sources/porn.json sources/schema.json
jsonschema -i sources/social_networks.json sources/schema.json
jsonschema -i sources/game.json sources/schema.json
./scripts/validate_source.py sources/*.json
flake8
pylint scripts
isort scripts --check --diff