Skip to content

Commit

Permalink
pylint to black
Browse files Browse the repository at this point in the history
  • Loading branch information
nonhermitian committed Oct 8, 2024
1 parent 1ca0aaf commit 3af6fa3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,15 @@ jobs:
run: |
conda info
pip install -U -r requirements.txt -c constraints.txt
- name: Lint with pylint and pycodestyle
- name: Black
run: |
pip install -U -r requirements-dev.txt -c constraints.txt
if [ "$RUNNER_OS" == "Linux" ]; then
MTHREE_OPENMP=1 python setup.py build_ext --inplace
else
python setup.py build_ext --inplace
fi
pylint -rn mthree
pycodestyle --max-line-length=100 mthree
black mthree
- name: Run tests with pytest
run: |
pip install pytest
Expand Down
3 changes: 1 addition & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
qiskit-aer>=0.13
pytest
pylint~=3.0.2
pycodestyle
black
Sphinx>=7.0,<=8
qiskit_sphinx_theme~=1.16.0,<2
matplotlib
Expand Down

0 comments on commit 3af6fa3

Please sign in to comment.