Skip to content

Tools for the performance team that don't fit into other repositories

License

Notifications You must be signed in to change notification settings

mozilla-mobile/perf-tools

Repository files navigation

perf-tools

Tools for the performance team that don't fit into other repositories

File issues in the perf-frontend-issues repository.

Configuration

To use this repo, you'll need to create a virtual environment and install the dependencies:

python3 -m venv venv
source venv/bin/activate

# Ensure the previous commands executed correctly before running this one
# to avoid installing the dependencies globally.
pip install -r requirements.txt

If you ever open a new shell, don't forget to reactivate the virtualenv before executing these scripts!

Pre-push hook

We also recommend setting up a pre-push hook to run some checks before they hit CI:

ln -s ../../tools/pre-push-recommended.sh .git/hooks/pre-push

Development

To run the linter, make sure your virtualenv is activated and run:

pycodestyle

Optionally, a path can be passed in. If you want more information about an error, pass the --show-pep8 option.

About

Tools for the performance team that don't fit into other repositories

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •