mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-11 12:30:25 +08:00
Remove tox
This commit is contained in:
@@ -8,7 +8,6 @@ build/
|
||||
|
||||
node_modules/
|
||||
public/
|
||||
.tox/
|
||||
tmp/
|
||||
|
||||
*.sqlite3
|
||||
|
||||
@@ -54,25 +54,12 @@ Note that `OPTUNA_DASHBOARD_DEBUG=1` makes the server will automatically restart
|
||||
|
||||
## Running tests, lint checks and formatters
|
||||
|
||||
### Run all tests and lint checks
|
||||
|
||||
```
|
||||
$ tox -e ALL
|
||||
```
|
||||
|
||||
### Running Python unit tests
|
||||
|
||||
```
|
||||
$ python -m unittest
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```
|
||||
$ pip install tox
|
||||
$ tox -e py39
|
||||
```
|
||||
|
||||
### Running visual regression tests using pyppeteer
|
||||
|
||||
Please run following commands, then check screenshots in `tmp/` directory.
|
||||
@@ -94,13 +81,6 @@ $ isort . --check
|
||||
$ mypy optuna_dashboard python_tests
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```
|
||||
$ pip install tox
|
||||
$ tox -e flake8 -e black -e mypy
|
||||
```
|
||||
|
||||
### Auto-formatting TypeScript files (by prettier)
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user