Skip to content

Commit 88b6c0a

Browse files
authored
Merge pull request huggingface#17 from wonhyeongseo/add-linters
chore: add linters
2 parents 1461ffe + 87b0d19 commit 88b6c0a

File tree

4 files changed

+24
-6
lines changed

4 files changed

+24
-6
lines changed

Diff for: .pre-commit-config.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.5.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: check-yaml
8+
- id: check-added-large-files
9+
- repo: https://github.com/psf/black-pre-commit-mirror
10+
rev: 23.9.1
11+
hooks:
12+
- id: black-jupyter
13+
language_version: python3.10
14+
- repo: https://github.com/astral-sh/ruff-pre-commit
15+
rev: v0.0.292
16+
hooks:
17+
- id: ruff
18+
types_or: [python, pyi, jupyter]

Diff for: README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# Computer Vision Community Course
22

3-
This is the repository for a community-led course on Computer Vision. Below, you can find how you can help us in this effort.
3+
This is the repository for a community-led course on Computer Vision. Below, you can find how you can help us in this effort.
44

55

66
### How to get started
77

88
1. Join us in Discord 👾
99

10-
Join [the Hugging Face discord](hf.co/join/discord), take the role open-source and join us at the channel #cv-community-project.
10+
Join [the Hugging Face discord](hf.co/join/discord), take the role open-source and join us at the channel #cv-community-project.
1111
<img width="491" alt="image" src="https://github.com/lunarflu/fork-computer-vision-course/assets/70143200/c13d5b34-ed1c-4f12-b044-192484b94f9d">
1212
<img width="180" alt="image" src="https://github.com/lunarflu/fork-computer-vision-course/assets/70143200/b3372a47-711f-4b43-bc85-0ba2b6f8b914">
1313

1414

1515

16-
2. Pick a section from the [table of contents](https://docs.google.com/spreadsheets/d/1fjmbsdGwe7IUMBv74LDC7IpoJy8ijiFdzGdnDlBv6eA/edit#gid=0) and add your first name and discord username there.
16+
2. Pick a section from the [table of contents](https://docs.google.com/spreadsheets/d/1fjmbsdGwe7IUMBv74LDC7IpoJy8ijiFdzGdnDlBv6eA/edit#gid=0) and add your first name and discord username there.
1717
(Please only sign up for two chapters maximum for now.)
1818
3. Connect with your team members in Discord
1919

@@ -92,7 +92,7 @@ Is everything already assigned, but you still really want to contribute to the c
9292
5. While reviewing, ask yourself if the changes and additions make sense - After all, the most important part of a course is conveying ideas properly, which makes the learning experience smoother.
9393
6. Share your feedback and ideas with the authors on how they can improve. In the long term, we're aiming to make a robust, high-quality course accessible to everyone!
9494
7. Finally, every PR can be merged when it has two approvals from reviewers.
95-
95+
9696

9797
### Tips and Hints
9898

Diff for: course/1 Fundamentals/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Fundamentals of Computer Vision
22

3-
## This Chapter Introduces the basic concepts of Computer Vision and it's underlying principles
3+
## This Chapter Introduces the basic concepts of Computer Vision and it's underlying principles

Diff for: requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ timm==0.9.7
33
evaluate==0.4.0
44
datasets==2.14.5
55
jupyter==1.0.0
6-
ipywidgets==8.1.1
6+
ipywidgets==8.1.1

0 commit comments

Comments
 (0)