Command Line Tool
COMMANDS
check
-- Run linting, formatting, security, and type checks.clean
-- Clean up installation and cache files.format
-- Apply formatting.install
-- Install dependencies.run_circleci_scraper
-- Run the CircleCI scraper.run_google_sheet_uploader
-- Run the Test Metric Reporter.run_metric_reporter
-- Run the Test Metric Reporter.run_report_merger
-- Run the Report Merger.test
-- Run tests.test_coverage
-- Run tests with coverage reporting.test_coverage_html
-- Run tests and generate HTML coverage report.
install
Install dependencies.
USAGE
make install
SEE ALSO
clean
-- Clean up installation and cache files.
clean
Clean up installation and cache files.
USAGE
make clean
SEE ALSO
install
-- Install dependencies.
check
Run linting, formatting, security, and type checks.
This script uses the following tools:
ruff
-- check for linting issues and code formatting.bandit
-- check for security issues.mypy
-- check for type issues.
USAGE
make check
SEE ALSO
format
-- Apply formatting.
format
Apply formatting.
This script will use ruff
to automatically fix linting issues and format the code.
USAGE
make format
SEE ALSO
check
-- Run linting, formatting, security, and type checks.
test
Run tests.
USAGE
make test
SEE ALSO
test_coverage
-- Run tests with coverage reporting.test_coverage_html
-- Run tests and generate HTML coverage report.
test_coverage
Run tests with coverage reporting.
USAGE
make test_coverage
SEE ALSO
test
-- Run tests.test_coverage_html
-- Run tests and generate HTML coverage report.
test_coverage_html
Run tests and generate HTML coverage report.
USAGE
make test_coverage_html
SEE ALSO
test
-- Run tests.test_coverage
-- Run tests with coverage reporting.
run_circleci_scraper
Run the CircleCI scraper.
USAGE
make run_circleci_scraper
In order to use this command, you need to make sure you set your personal CircleCI token in your local config.ini file, as seen below:
[circleci_scraper]
token = <YoUr_tOkEn_hErE>
If the days_of_data
option is not present in the config.ini file, the default of "all available data" will be fetched. If you want to customize how many previous days are fetched, you can set the days_of_data
option in your local config.ini file:
[circleci_scraper]
;(optional) Get data starting from x days past from now (default: all available data)
days_of_data = 7
If you have the previous day's data stored locally, the cached data will be used and not re-fetched from CircleCI.
SEE ALSO
run_metric_reporter
-- Run the Test Metric Reporter.
run_google_sheet_uploader
Run the Google Sheet Uploader.
USAGE
make run_google_sheet_uploader
run_metric_reporter
Run the Test Metric Reporter.
USAGE
make run_metric_reporter
SEE ALSO
run_circleci_scraper
-- Run the CircleCI scraper.
run_report_merger
Run the Report Merger.
USAGE
make run_report_merger