diff --git a/.github/workflows/code_checks.yml b/.github/workflows/code_checks.yml index a11cc6841..e2b39e40b 100644 --- a/.github/workflows/code_checks.yml +++ b/.github/workflows/code_checks.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Python 3.8.12 uses: actions/setup-python@v3 with: - python-version: "3.8.12" + python-version: '3.8.12' - name: Install dependencies run: | python -m pip install --upgrade pip @@ -31,9 +31,9 @@ jobs: run: | python ./scripts/docs/add_nb_tags.py --check - name: Run isort - run: isort . --profile black --check + run: isort docs/ nerfactory/ notebooks/ scripts/ tests/ --profile black --check - name: Run Black - run: black nerfactory/ scripts/ notebooks/ docs/ --check + run: black docs/ nerfactory/ notebooks/ scripts/ tests/ --check - name: Python Pylint run: | pylint nerfactory tests scripts diff --git a/pyproject.toml b/pyproject.toml index 6109b948c..f6b24de16 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,12 +29,13 @@ good-names-rgxs = "^[_a-zA-Z][_a-z0-9]?$" ignore-paths = ["scripts/colmap2nerf.py", "^nerfactory/cuda/.*$", "^tests/cuda/.*$"] disable = [ - "too-many-arguments", - "fixme", - "too-many-branches", - "too-many-locals", - "too-many-instance-attributes", "duplicate-code", + "fixme", + "logging-fstring-interpolation", + "too-many-arguments", + "too-many-branches", + "too-many-instance-attributes", + "too-many-locals", "unnecessary-ellipsis", ]