mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-12 19:04:03 +08:00
Use pyproject.toml
This commit is contained in:
1 parent
be34bf2281
commit
0be41fe4dd
6 files changed
+42
-39
No files matched your search
@@ -23,22 +23,14 @@ jobs:
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r environment/requirements.txt
|
||||
python setup.py develop
|
||||
pip install -e .
|
||||
- name: Run Black
|
||||
uses: psf/black@stable
|
||||
with:
|
||||
options: "--check --verbose --line-length=120"
|
||||
options: "--check"
|
||||
- name: Python Pylint
|
||||
run: |
|
||||
pylint mattport tests \
|
||||
--max-line-length=120 \
|
||||
--generated-members=numpy.*,torch.*,cv2.*,cv.* \
|
||||
--good-names=e,c,i,j,x,y,lr,K,fx,fy,cx,cy,H,W,ts,t,u,k,v \
|
||||
--disable=too-many-arguments \
|
||||
--disable=too-many-locals \
|
||||
--disable=fixme \
|
||||
--disable=too-many-instance-attributes \
|
||||
--disable=duplicate-code
|
||||
pylint mattport tests
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pytest tests --typeguard-packages=mattport --torchtyping-patch-typeguard --disable-warnings
|
||||
pytest
|
||||
Reference in new issue
Block a user