Skip to content

Commit a3cdbe7

Browse files
committed
Remove references to trivial-validate.py, replace with new script location
1 parent 9a57978 commit a3cdbe7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Some `rulesets` have the attribute `platform="mixedcontent"`. These `rulesets`
104104

105105
## New Rulesets
106106

107-
If you want to create new `rulesets` to submit to us, we expect them to be in the `src/chrome/content/rules` directory. That directory also contains a useful script, `make-trivial-rule`, to create a simple `ruleset` for a specified domain. There is also a script called `utils/trivial-validate.py`, to check all the pending `rulesets` for several common errors and oversights. For example, if you wanted to make a `ruleset` for the `example.com` domain, you could run:
107+
If you want to create new `rulesets` to submit to us, we expect them to be in the `src/chrome/content/rules` directory. That directory also contains a useful script, `make-trivial-rule`, to create a simple `ruleset` for a specified domain. There is also a script in `test/validations/special/run.py`, to check all the pending `rulesets` for several common errors and oversights. For example, if you wanted to make a `ruleset` for the `example.com` domain, you could run:
108108
```
109109
cd src/chrome/content/rules
110110
bash ./make-trivial-rule example.com

docs/en_US/development.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ HTTP to HTTPS. You can read more about how to write these rules
4242
If you want to create new rules to submit to us, we expect them to be in the
4343
src/chrome/content/rules directory. That directory also contains a useful
4444
script, make-trivial-rule, to create a simple rule for a specified domain.
45-
There is also a script called trivial-validate.py, to check all the pending
46-
rules for several common errors and oversights. For example, if you wanted to
47-
make a rule for the example.com domain, you could run
45+
There is also a script in test/validations/special/run.py, to check all the
46+
pending rules for several common errors and oversights. For example, if you
47+
wanted to make a rule for the example.com domain, you could run
4848

4949
bash ./make-trivial-rule example.com
5050

hooks/precommit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ if [ "$CHANGED_RULESETS" ]; then
3939
continue
4040
fi
4141

42-
./utils/trivial-validate.py --quiet $FILE
42+
python3.6 test/validations/special/run.py --quiet $FILE
4343
RESULT=$?
4444

4545
if [ $RESULT -ne 0 ]; then

0 commit comments

Comments
 (0)