Skip to content

Commit

Permalink
Fix the readthedocs config (#1322)
Browse files Browse the repository at this point in the history
* Fix metadata path

* Ignore hidden directories in folder dataset

* Add check for mask_dir for segmentation tasks in Folder dataset

* Fix the readthedocs config

* Remove hadolint + install python package

---------

Co-authored-by: Ashwin Vaidya <[email protected]>
  • Loading branch information
samet-akcay and Ashwin Vaidya authored Sep 4, 2023
1 parent f3e2938 commit 9ec7162
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,6 @@ repos:
hooks:
- id: markdownlint

- repo: https://github.com/AleksaC/hadolint-py
rev: v2.12.0.2
hooks:
- id: hadolint
name: Lint Dockerfiles
description: Runs hadolint to lint Dockerfiles
args: ["--ignore", "DL3008"]
- repo: https://github.com/PyCQA/bandit
rev: 1.7.5
hooks:
Expand Down
4 changes: 3 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2

# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
os: "ubuntu-22.04"
tools:
python: "3.11"
# You can also specify other tool versions:
Expand All @@ -30,3 +30,5 @@ formats:
python:
install:
- requirements: requirements/docs.txt
- method: pip
path: .

0 comments on commit 9ec7162

Please sign in to comment.