Skip to content

Commit a22ccbb

Browse files
committed
Clean up comments and typos
1 parent 1a70568 commit a22ccbb

File tree

2 files changed

+14
-23
lines changed

2 files changed

+14
-23
lines changed

README.md

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
dr[![json2python-models](/etc/logo.png)](https://github.com/bogdandm/json2python-models)
1+
[![json2python-models](/etc/logo.png)](https://github.com/bogdandm/json2python-models)
22

33
[![PyPI version](https://img.shields.io/pypi/v/json2python-models.svg?color=green)](https://badge.fury.io/py/json2python-models)
44
[![Build](https://github.com/bogdandm/json2python-models/actions/workflows/test_and_release.yml/badge.svg)](https://github.com/bogdandm/json2python-models/actions/workflows/test_and_release.yml)
@@ -9,7 +9,7 @@ dr[![json2python-models](/etc/logo.png)](https://github.com/bogdandm/json2python
99

1010
json2python-models is a [Python](https://www.python.org/) tool that can generate Python models classes
1111
([pydantic](https://github.com/samuelcolvin/pydantic), dataclasses, [attrs](https://github.com/python-attrs/attrs))
12-
from JSON dataset.
12+
from JSON datasets.
1313

1414
## Features
1515

@@ -26,23 +26,18 @@ from JSON dataset.
2626

2727
## Table of Contents
2828

29-
- [Features](#features)
30-
- [Table of Contents](#table-of-contents)
31-
- [Examples](#examples)
32-
- [Part of Path of Exile public items API](#part-of-path-of-exile-public-items-api)
33-
- [F1 Season Results](#f1-season-results)
34-
- [Swagger](#swagger)
35-
- [Github-actions config files](#github-actions-config-files)
36-
- [Example with preamble](#example-with-preamble)
37-
- [Installation](#installation)
38-
- [Usage](#usage)
39-
- [CLI](#cli)
40-
- [Low level API](#low-level-api)
41-
- [Tests](#tests)
42-
- [Test examples](#test-examples)
43-
- [Built With](#built-with)
44-
- [Contributing](#contributing)
45-
- [License](#license)
29+
* [Features](#features)
30+
* [Table of Contents](#table-of-contents)
31+
* [Example](#example)
32+
* [Installation](#installation)
33+
* [Usage](#usage)
34+
* [CLI](#cli)
35+
* [Low level API]()
36+
* [Tests](#tests)
37+
* [Test examples](#test-examples)
38+
* [Built With](#built-with)
39+
* [Contributing](#contributing)
40+
* [License](#license)
4641

4742
## Examples
4843

test/test_cli/test_script.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,9 @@ def test_help():
8989
id="ini_file"),
9090
]
9191

92-
# def _validate_result(proc: subprocess.Popen, output=None, output_file: Path = None) -> Tuple[str, str]:
93-
9492

9593
def execute_test(command, output_file: Path = None, output=None) -> Tuple[str, str]:
9694
proc = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
97-
# stdout, stderr = _validate_result(proc)
98-
9995
stdout, stderr = map(bytes.decode, proc.communicate())
10096
if output_file:
10197
assert output is None

0 commit comments

Comments
 (0)