Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
d7c3e215
Commit
d7c3e215
authored
Nov 16, 2021
by
Daniel Eades
Committed by
Bjorn Neergaard
Nov 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lint and fix pep8 naming conventions
parent
25cc6a1f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
.pre-commit-config.yaml
+1
-0
tests/utils/test_env.py
+2
-2
No files found.
.pre-commit-config.yaml
View file @
d7c3e215
...
@@ -38,6 +38,7 @@ repos:
...
@@ -38,6 +38,7 @@ repos:
-
flake8-quotes==3.3.1
-
flake8-quotes==3.3.1
-
flake8-tidy-imports==4.5.0
-
flake8-tidy-imports==4.5.0
-
flake8-typing-imports==1.11.0
-
flake8-typing-imports==1.11.0
-
pep8-naming==0.12.1
-
repo
:
https://github.com/pycqa/isort
-
repo
:
https://github.com/pycqa/isort
rev
:
5.10.1
rev
:
5.10.1
...
...
tests/utils/test_env.py
View file @
d7c3e215
...
@@ -646,11 +646,11 @@ def test_run_with_input(tmp_dir, tmp_venv):
...
@@ -646,11 +646,11 @@ def test_run_with_input(tmp_dir, tmp_venv):
def
test_run_with_input_non_zero_return
(
tmp_dir
,
tmp_venv
):
def
test_run_with_input_non_zero_return
(
tmp_dir
,
tmp_venv
):
with
pytest
.
raises
(
EnvCommandError
)
as
process
E
rror
:
with
pytest
.
raises
(
EnvCommandError
)
as
process
_e
rror
:
# Test command that will return non-zero returncode.
# Test command that will return non-zero returncode.
tmp_venv
.
run
(
"python"
,
"-"
,
input_
=
ERRORING_SCRIPT
)
tmp_venv
.
run
(
"python"
,
"-"
,
input_
=
ERRORING_SCRIPT
)
assert
process
E
rror
.
value
.
e
.
returncode
==
1
assert
process
_e
rror
.
value
.
e
.
returncode
==
1
def
test_run_with_keyboard_interrupt
(
tmp_dir
,
tmp_venv
,
mocker
):
def
test_run_with_keyboard_interrupt
(
tmp_dir
,
tmp_venv
,
mocker
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment