Skip to content

Commit 86d61db

Browse files
chore(deps-dev): bump ruff from to 0.1.3, remove black (#230)
* chore(deps-dev): bump ruff from 0.0.286 to 0.1.3 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.286 to 0.1.3. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@v0.0.286...v0.1.3) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * fixup: remove black --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Michael Cousins <[email protected]>
1 parent 65396f4 commit 86d61db

File tree

3 files changed

+25
-80
lines changed

3 files changed

+25
-80
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,11 @@ If you find yourself in a situation where Decoy's test suite has blown up, **con
4848

4949
### Checks
5050

51-
Decoy's source code is typechecked with [mypy][] and linted with [ruff][].
51+
Decoy's source code is typechecked with [mypy][] and linted/formatted with [ruff][].
5252

5353
```bash
5454
poetry run poe check
5555
poetry run poe lint
56-
```
57-
58-
### Formatting
59-
60-
Decoy's source code is formatted using [black][].
61-
62-
```bash
6356
poetry run poe format
6457
```
6558

@@ -101,7 +94,6 @@ git push --follow-tags
10194
[pytest]: https://docs.pytest.org/
10295
[pytest-xdist]: https://github.com/pytest-dev/pytest-xdist
10396
[mypy]: https://mypy.readthedocs.io
104-
[ruff]: https://github.com/charliermarsh/ruff
105-
[black]: https://black.readthedocs.io
97+
[ruff]: https://github.com/astral-sh/ruff
10698
[mkdocs]: https://www.mkdocs.org/
10799
[semantic versioning]: https://semver.org/

poetry.lock

Lines changed: 20 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ python = "^3.7"
2828
poethepoet = "0.19.0"
2929

3030
[tool.poetry.group.test.dependencies]
31-
black = { version = "23.7.0", python = ">=3.8" }
3231
coverage = { version = "7.2.7", extras = ["toml"] }
3332
mypy = [
3433
{ version = "1.4.1", python = "<3.8" },
@@ -38,7 +37,7 @@ pytest = "7.4.0"
3837
pytest-asyncio = "0.21.1"
3938
pytest-mypy-plugins = "2.0.0"
4039
pytest-xdist = "3.3.1"
41-
ruff = "0.0.286"
40+
ruff = "0.1.3"
4241

4342
[tool.poetry.group.docs.dependencies]
4443
mkdocs = { version = "1.5.2", python = ">=3.8" }
@@ -57,8 +56,8 @@ all = [
5756
]
5857
check = "mypy"
5958
lint = "ruff check ."
60-
format = "black ."
61-
format-check = "black . --check"
59+
format = "ruff format ."
60+
format-check = "ruff format --check ."
6261
test = "pytest -f"
6362
test-once = "coverage run --branch --source=decoy -m pytest --mypy-same-process"
6463
coverage = "coverage report"

0 commit comments

Comments
 (0)