Skip to content

Updates to fix linting task in ci/cd pipeline #947

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

gw-moore
Copy link

@gw-moore gw-moore commented Oct 23, 2022

The CI/CD pipeline is failing because the requirements-dev.txt file is missing isort. I ran black and isort after making the update and his modified some additional files. The pipeline is still failing due to flake8.

Changes

  • Adds isort to dev dependencies

  • Adds dev dependencies to setup.py

  • Adds lint session to tox for local testing

  • closes #xxxx

  • tests added / passed

  • passes git diff upstream/master -u -- "*.py" | flake8 --diff

  • passes black --check pandas_datareader

  • added entry to docs/source/whatsnew/vLATEST.txt

Kevin Sheppard and others added 2 commits May 27, 2022 00:31
Update black
Fix nested exceptions
- Add isort to dev dependencies
- Add dev dependencies to setup.py
- Add lint session to tox for local testing
@gw-moore gw-moore changed the title Make updates to fix linting task in ci/cd pipelines Updates to fix linting task in ci/cd pipeline Oct 23, 2022
@codecov-commenter
Copy link

codecov-commenter commented Oct 23, 2022

Codecov Report

Merging #947 (6f26009) into main (fdade48) will decrease coverage by 11.58%.
The diff coverage is 43.75%.

@@             Coverage Diff             @@
##             main     #947       +/-   ##
===========================================
- Coverage   73.19%   61.60%   -11.59%     
===========================================
  Files          65       62        -3     
  Lines        2932     2870       -62     
  Branches      315      411       +96     
===========================================
- Hits         2146     1768      -378     
- Misses        704     1035      +331     
+ Partials       82       67       -15     
Impacted Files Coverage Δ
pandas_datareader/_utils.py 84.37% <0.00%> (-3.13%) ⬇️
pandas_datareader/av/forex.py 27.65% <0.00%> (ø)
pandas_datareader/base.py 86.23% <0.00%> (+2.17%) ⬆️
pandas_datareader/famafrench.py 96.20% <0.00%> (ø)
pandas_datareader/fred.py 100.00% <ø> (ø)
pandas_datareader/io/jsdmx.py 97.14% <ø> (+2.62%) ⬆️
pandas_datareader/nasdaq_trader.py 63.46% <0.00%> (ø)
pandas_datareader/tests/io/test_jsdmx.py 100.00% <ø> (ø)
pandas_datareader/wb.py 3.40% <0.00%> (-87.08%) ⬇️
pandas_datareader/io/sdmx.py 91.42% <50.00%> (-2.15%) ⬇️
... and 28 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@gw-moore
Copy link
Author

gw-moore commented Oct 23, 2022

@bashtage
Copy link
Contributor

These have been fixed in main.

@bashtage bashtage closed this Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants