Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit d42c4ba

Browse files
authored
Merge branch 'master' into DX-759
2 parents c115501 + 40a785d commit d42c4ba

File tree

3 files changed

+25
-58
lines changed

3 files changed

+25
-58
lines changed

.github/workflows/formatter.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: formatter
2+
on:
3+
pull_request:
4+
branches: [ master ]
5+
6+
workflow_dispatch:
7+
8+
jobs:
9+
linter_name:
10+
name: runner / black
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Check files using the black formatter
15+
uses: rickstaa/action-black@v1
16+
id: black_formatter
17+
with:
18+
black_args: ". -l 120"
19+
- name: Annotate diff changes using reviewdog
20+
if: steps.black_formatter.outputs.is_formatted == 'true'
21+
uses: reviewdog/action-suggester@v1
22+
with:
23+
tool_name: blackfmt

poetry.lock

Lines changed: 1 addition & 54 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ packages = [{ include = "data_diff" }]
2525
[tool.poetry.dependencies]
2626
python = "^3.7.2"
2727
runtype = "^0.2.6"
28-
dsnparse = [
29-
{ version = "<0.2.0", markers = "python_version < '3.8.0'" },
30-
{ version = "*", markers = "python_version >= '3.8.0'" }
31-
]
28+
dsnparse = "<0.2.0"
3229
click = "^8.1"
3330
rich = "*"
3431
toml = "^0.10.2"

0 commit comments

Comments
 (0)