Skip to content

Commit 0eb11e7

Browse files
dshabinVaghinakDev
authored andcommitted
Update base schema
1 parent cb06275 commit 0eb11e7

File tree

4 files changed

+10
-20
lines changed

4 files changed

+10
-20
lines changed

.github/workflows/changelog.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
# Changelog
22

3+
4+
35
All release higlighths of this project will be documented in this file.
46

7+
## 1.0.37 - Jan 27 2022
8+
### Added
9+
- Add CLI argument report_path
10+
###
11+
512
## 1.0.36 - Jan 20 2022
613
### Added
714
- Add document schema test

src/superannotate_schemas/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from superannotate_schemas.validators import AnnotationValidators
88

99

10-
__version__ = '1.0.36'
10+
__version__ = '1.0.37'
1111

1212
__all__ = [
1313
"__version__",

src/superannotate_schemas/bin/interface.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import os
2+
from os.path import expanduser
23
import json
34
import errno
45
from pathlib import Path
@@ -61,7 +62,7 @@ def validate(*paths, project_type, internal=False, verbose=False, report_path=No
6162
if verbose:
6263
print(f"{'-'* 4}{path}\n{report}")
6364
if report_path:
64-
with open(f"{report_path}/{uniquify(Path(path).name)}") as validation_report:
65+
with open(uniquify(f"{report_path}/{(Path(path).name)}"), "w") as validation_report:
6566
validation_report.write(report)
6667
else:
6768
validation_result.append({path: False})

0 commit comments

Comments
 (0)