1
- # Chaos Toolkit Extension Template
1
+ # Chaos Toolkit Extension For Datadog
2
2
3
3
[ ![ Version] ( https://img.shields.io/pypi/v/chaostoolkit-datadog.svg )] ( https://img.shields.io/pypi/v/chaostoolkit-datadog.svg )
4
4
[ ![ License] ( https://img.shields.io/pypi/l/chaostoolkit-datadog.svg )] ( https://img.shields.io/pypi/l/chaostoolkit-datadog.svg )
5
5
6
- [ ![ Build, Test, and Lint ] ( https://github.com/chaostoolkit-incubator/chaostoolkit-datadog/actions/workflows/build.yaml/badge.svg )] ( https://github.com/chaostoolkit-incubator/chaostoolkit-datadog/actions/workflows/build.yaml )
6
+ [ ![ Build] ( https://github.com/chaostoolkit-incubator/chaostoolkit-datadog/actions/workflows/build.yaml/badge.svg )] ( https://github.com/chaostoolkit-incubator/chaostoolkit-datadog/actions/workflows/build.yaml )
7
7
[ ![ Python versions] ( https://img.shields.io/pypi/pyversions/chaostoolkit-datadog.svg )] ( https://www.python.org/ )
8
8
9
9
This project contains Chaos Toolkit activities and tolerances to work
10
10
with DataDog.
11
11
12
12
## Install
13
13
14
- This package requires Python 3.7 +
14
+ This package requires Python 3.8 +
15
15
16
16
To be used from your experiment, this package must be installed in the Python
17
17
environment where [ chaostoolkit] [ ] already lives.
@@ -93,23 +93,20 @@ notably:
93
93
To run the tests for the project execute the following:
94
94
95
95
```
96
- $ pytest
96
+ $ pdm run test
97
97
```
98
98
99
99
### Formatting and Linting
100
100
101
- We use a combination of [ ` black ` ] [ black ] , [ ` flake8 ` ] [ flake8 ] , and [ ` isort ` ] [ isort ]
102
- to both lint and format this repositories code.
101
+ We use [ ` ruff ` ] [ ruff ] to both lint and format this repositories code.
103
102
104
- [ black ] : https://github.com/psf/black
105
- [ flake8 ] : https://github.com/PyCQA/flake8
106
- [ isort ] : https://github.com/PyCQA/isort
103
+ [ ruff ] : https://github.com/astral-sh/ruff
107
104
108
105
Before raising a Pull Request, we recommend you run formatting against your
109
106
code with:
110
107
111
108
``` console
112
- $ make format
109
+ $ pdm run format
113
110
```
114
111
115
112
This will automatically format any code that doesn't adhere to the formatting
@@ -118,7 +115,7 @@ standards.
118
115
As some things are not picked up by the formatting, we also recommend you run:
119
116
120
117
``` console
121
- $ make lint
118
+ $ pdm run lint
122
119
```
123
120
124
121
To ensure that any unused import statements/strings that are too long, etc.
@@ -131,4 +128,4 @@ welcome to do so. Please, fork this project, make your changes following the
131
128
usual [ PEP 8] [ pep8 ] code style, sprinkling with tests and submit a PR for
132
129
review.
133
130
134
- [ pep8 ] : https://pycodestyle.readthedocs.io/en/latest /
131
+ [ pep8 ] : https://peps.python.org/pep-0008 /
0 commit comments