Skip to content

Commit 8658c5b

Browse files
authored
[MAINT] Improve some tests and refactor dev experience to be in line w/ dowhy (#74)
* Add some more tests to m-separation * consolidate wrt dowhy to poetry tools --------- Signed-off-by: Adam Li <[email protected]>
1 parent 6342964 commit 8658c5b

File tree

6 files changed

+354
-346
lines changed

6 files changed

+354
-346
lines changed

.github/workflows/circle_artifacts.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
on: [status]
22
jobs:
33
circleci_artifacts_redirector_job:
4+
if: "${{ startsWith(github.event.context, 'ci/circleci: build_doc') }}"
45
runs-on: ubuntu-20.04
56
name: Run CircleCI artifacts redirector
67
steps:

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141

4242
# check formatting of the code style
4343
- name: Check code formatting
44-
run: poetry run poe check_format
44+
run: poetry run poe format_check
4545

4646
# this applies various linting
4747
- name: Lint codebase

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,11 @@ You can verify that your code will pass certain style, formatting and lint check
148148

149149
``verify`` runs a sequence of tests that can also be run individually. For example, you can check code formatting with black:
150150

151-
poetry run poe check_format
151+
poetry run poe format_check
152152

153153
If you would like to automatically black format your changes:
154154

155-
poetry run poe apply_format
155+
poetry run poe format
156156

157157
You can then check for code style and general linting:
158158

0 commit comments

Comments
 (0)