mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-12 10:55:57 +08:00
* working data loader code * adding gitignore * fixing linting errors * set black line length in settings file * update * fixed filepath * black format * tqdm
36 lines
1.1 KiB
JSON
36 lines
1.1 KiB
JSON
{
|
|
// "python.pythonPath": "/path/to/bin/python",
|
|
"files.watcherExclude": {
|
|
"**/__pycache__/": true,
|
|
"**/.ipynb_checkpoints": true,
|
|
"**/*.ipynb": true,
|
|
"**/old*": true,
|
|
"**/runs*": true,
|
|
"**/temp*": true,
|
|
},
|
|
// "editor.formatOnSave": true,
|
|
"python.formatting.provider": "black",
|
|
"python.formatting.blackArgs": [
|
|
"--line-length=120"
|
|
],
|
|
"python.linting.pylintEnabled": true,
|
|
"python.linting.flake8Enabled": false,
|
|
"python.linting.enabled": true,
|
|
"python.sortImports.args": [
|
|
"--src=${workspaceFolder}"
|
|
],
|
|
"python.testing.pytestArgs": [
|
|
"--ignore=tests/nerf/test_ray_generator.py",
|
|
"--typeguard-packages=mattport",
|
|
"--torchtyping-patch-typeguard"
|
|
],
|
|
"python.testing.unittestEnabled": false,
|
|
"python.testing.pytestEnabled": true,
|
|
"python.linting.pylintArgs": [
|
|
"--generated-members=numpy.*,torch.*,cv2.*,cv.*",
|
|
"--max-line-length=120",
|
|
"--good-names=e,c,i,j,x,y,lr,K,fx,fy,cx,cy,H,W",
|
|
"--disable=too-many-arguments",
|
|
"--disable=fixme"
|
|
],
|
|
} |