Skip to content

Commit

Permalink
fix: failing build (#732)
Browse files Browse the repository at this point in the history
I've upgraded our poetry version to resolve a [dependency installation issue](https://app.circleci.com/pipelines/github/chdsbd/kodiak/2438/workflows/b7c161ad-c228-46a3-b64c-8a395ac3ebe3/jobs/21508): python-poetry/poetry#4409 (comment)

I also ended up upgrading some packages to resolve a broken lock file, which cased pylint to error. I've centralized our pylint config so now we just have one for bot/ and web_api/
  • Loading branch information
chdsbd authored Sep 23, 2021
1 parent 3f7d2ce commit 729c472
Show file tree
Hide file tree
Showing 4 changed files with 1,081 additions and 1,044 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
# Use our new PATH so we can call poetry from bash
echo 'export PATH="$PATH":"$HOME"/.local/bin' >> $BASH_ENV
source $BASH_ENV
command -v poetry || python -m pip install --user poetry==1.1.8
command -v poetry || python -m pip install --user poetry==1.1.9
poetry config virtualenvs.in-project true
poetry install
- save_cache:
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
# Use our new PATH so we can call poetry from bash
echo 'export PATH="$PATH":"$HOME"/.local/bin' >> $BASH_ENV
source $BASH_ENV
command -v poetry || python -m pip install --user poetry==1.1.8
command -v poetry || python -m pip install --user poetry==1.1.9
poetry config virtualenvs.in-project true
poetry install
- save_cache:
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
# Use our new PATH so we can call poetry from bash
echo 'export PATH="$PATH":"$HOME"/.local/bin' >> $BASH_ENV
source $BASH_ENV
command -v poetry || python -m pip install --user poetry==1.1.8
command -v poetry || python -m pip install --user poetry==1.1.9
poetry config virtualenvs.in-project true
poetry install
- save_cache:
Expand Down Expand Up @@ -257,7 +257,7 @@ jobs:
# Use our new PATH so we can call poetry from bash
echo 'export PATH="$PATH":"$HOME"/.local/bin' >> $BASH_ENV
source $BASH_ENV
command -v poetry || python -m pip install --user poetry==1.1.8
command -v poetry || python -m pip install --user poetry==1.1.9
poetry config virtualenvs.in-project true
poetry install
- save_cache:
Expand Down Expand Up @@ -302,8 +302,8 @@ jobs:
# Use our new PATH so we can call poetry from bash
echo 'export PATH="$PATH":"$HOME"/.local/bin' >> $BASH_ENV
source $BASH_ENV
command -v poetry || python -m pip install --user poetry==1.1.8
poetry config settings.virtualenvs.in-project true
command -v poetry || python -m pip install --user poetry==1.1.9
poetry config virtualenvs.in-project true
poetry install
- save_cache:
paths:
Expand Down
6 changes: 6 additions & 0 deletions bot/.pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,12 @@ disable=print-statement,
unspecified-encoding,
# we don't need to specify `from`
raise-missing-from,
# this has false positives
method-hidden,
# flake8 handles this now
broad-except,
# we can format strings as we like
consider-using-f-string


# Enable the message, report, category or checker with the given id(s). You can
Expand Down
Loading

0 comments on commit 729c472

Please sign in to comment.