Skip to content

Commit

Permalink
Correct check tasks in CI to run the proper tox env (#286)
Browse files Browse the repository at this point in the history
* Correct check tasks in CI to run the proper tox env

* correct line length

* add empty misc newsfragment
  • Loading branch information
altendky authored Dec 5, 2020
1 parent 3c2f9fd commit 27fb1c2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
run: python -m pip install --upgrade pip tox

- name: Check
run: tox -c tox.ini -e ${{ matrix.python.tox }}-${{ matrix.task.tox }}
run: tox -c tox.ini -e ${{ matrix.task.tox }}

all:
name: All
Expand Down
6 changes: 5 additions & 1 deletion src/towncrier/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
@click.pass_context
@click.option("--dir", "directory", default=None)
@click.option("--config", "config", default=None)
@click.option("--edit/--no-edit", default=False, help="Open an editor for writing the newsfragment content.") # TODO: default should be true
@click.option(
"--edit/--no-edit",
default=False,
help="Open an editor for writing the newsfragment content.",
) # TODO: default should be true
@click.argument("filename")
def _main(ctx, directory, config, filename, edit):
return __main(ctx, directory, config, filename, edit)
Expand Down
Empty file.

0 comments on commit 27fb1c2

Please sign in to comment.