mirror of
https://github.com/denoland/deno.git
synced 2024-12-26 17:19:06 -05:00
31f32ed8c4
All benchmarks are done in Rust and can be invoked with `cargo bench`. Currently this has it's own "harness" that behaves like `./tools/benchmark.py` did. Because of this tests inside `cli/bench` are currently not run. This should be switched to the language provided harness once the `#[bench]` attribute has been stabilized. |
||
---|---|---|
.. | ||
build_benchmark_jsons.py | ||
format.py | ||
hash_benchmark.py | ||
lint.py | ||
package.json | ||
pylintrc | ||
README.md | ||
sync_node_modules.py | ||
sync_python_modules.py | ||
test_format.py | ||
test_util.py | ||
third_party.py | ||
util.py | ||
util_test.py |
Tools
Documentation for various tooling in support of Deno development
format.py
This script will format the code (currently using dprint, yapf and rustfmt). It is a prerequisite to run this before code check in.
To run formatting:
./tools/format.py
lint.py
This script will lint the code base (currently using eslint, pylint and clippy). It is a prerequisite to run this before code check in.
To run linting:
./tools/lint.py