Skip to content

Commit

Permalink
Merge branch 'master' into add_sampler
Browse files Browse the repository at this point in the history
  • Loading branch information
pourmand1376 authored Aug 1, 2022
2 parents 0201b44 + 7b9cc32 commit 9929f04
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Repo-specific DockerIgnore -------------------------------------------------------------------------------------------
#.git
.git
.cache
.idea
runs
Expand Down
4 changes: 1 addition & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: no-commit-to-branch
args: ['--branch', 'master']
- id: end-of-file-fixer
# - id: end-of-file-fixer
- id: trailing-whitespace
- id: check-case-conflict
- id: check-yaml
Expand Down
1 change: 0 additions & 1 deletion utils/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,6 @@ def check_git_status(repo='ultralytics/yolov5'):
msg = f', for updates see {url}'
s = colorstr('github: ') # string
assert Path('.git').exists(), s + 'skipping check (not a git repository)' + msg
assert not is_docker(), s + 'skipping check (Docker image)' + msg
assert check_online(), s + 'skipping check (offline)' + msg

splits = re.split(pattern=r'\s', string=check_output('git remote -v', shell=True).decode())
Expand Down

0 comments on commit 9929f04

Please sign in to comment.