-
Notifications
You must be signed in to change notification settings - Fork 0
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
Test filter #174
Test filter #174
Commits on Jul 13, 2023
-
Merge pull request #1 from cfpb/features/565_census_tract
565: add census_tract_adr_type and census_tract_number validations except invalid_geoid
Configuration menu - View commit details
-
Copy full SHA for 3ee182a - Browse repository at this point
Copy the full SHA 3ee182aView commit details
Commits on Jul 14, 2023
-
Merge branch 'main' into fix/566_more_fixes_on_good_test_file
Aldrian Harjati committedJul 14, 2023 Configuration menu - View commit details
-
Copy full SHA for 444af10 - Browse repository at this point
Copy the full SHA 444af10View commit details
Commits on Jul 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f81421d - Browse repository at this point
Copy the full SHA f81421dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd1350e - Browse repository at this point
Copy the full SHA dd1350eView commit details
Commits on Jul 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9729e79 - Browse repository at this point
Copy the full SHA 9729e79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f4e180 - Browse repository at this point
Copy the full SHA 2f4e180View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1378b8 - Browse repository at this point
Copy the full SHA e1378b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 752d748 - Browse repository at this point
Copy the full SHA 752d748View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5188452 - Browse repository at this point
Copy the full SHA 5188452View commit details -
Merge pull request #2 from cfpb/features/536_pricing_mca_addcost_and_…
…flag Task 536:
Configuration menu - View commit details
-
Copy full SHA for 52c51f4 - Browse repository at this point
Copy the full SHA 52c51f4View commit details -
Merge pull request #3 from cfpb/fix/566_more_fixes_on_good_test_file
fix pricing_var_index_name, action_taken and ct_loan_term data
Configuration menu - View commit details
-
Copy full SHA for 9271ba2 - Browse repository at this point
Copy the full SHA 9271ba2View commit details -
fix pricing_mca_addcost and naics description
Aldrian Harjati committedJul 18, 2023 Configuration menu - View commit details
-
Copy full SHA for 68220bb - Browse repository at this point
Copy the full SHA 68220bbView commit details -
add census_tract_number id validation and functions to process census…
…_tract_ids
Aldrian Harjati committedJul 18, 2023 Configuration menu - View commit details
-
Copy full SHA for a259b53 - Browse repository at this point
Copy the full SHA a259b53View commit details
Commits on Jul 19, 2023
-
Aldrian Harjati committed
Jul 19, 2023 Configuration menu - View commit details
-
Copy full SHA for 87e67c5 - Browse repository at this point
Copy the full SHA 87e67c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c3af79 - Browse repository at this point
Copy the full SHA 3c3af79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dd03cf - Browse repository at this point
Copy the full SHA 9dd03cfView commit details -
Merge pull request #4 from cfpb/features/554-two-phase-validation
Features/554 two phase validation POC
Configuration menu - View commit details
-
Copy full SHA for 27992f2 - Browse repository at this point
Copy the full SHA 27992f2View commit details
Commits on Jul 20, 2023
-
Merge branch 'main' into feature/565_census_tract_number
Aldrian Harjati committedJul 20, 2023 Configuration menu - View commit details
-
Copy full SHA for 78984e4 - Browse repository at this point
Copy the full SHA 78984e4View commit details -
Aldrian Harjati committed
Jul 20, 2023 Configuration menu - View commit details
-
Copy full SHA for b380b78 - Browse repository at this point
Copy the full SHA b380b78View commit details
Commits on Jul 21, 2023
-
add app_method validation (#8)
Co-authored-by: Aldrian Harjati <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bcd7f47 - Browse repository at this point
Copy the full SHA bcd7f47View commit details -
add ct_credit_product and ct_credit_product_ff validations (#7)
Co-authored-by: Aldrian Harjati <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e2a5e81 - Browse repository at this point
Copy the full SHA e2a5e81View commit details -
Co-authored-by: Aldrian Harjati <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 279e4eb - Browse repository at this point
Copy the full SHA 279e4ebView commit details
Commits on Jul 24, 2023
-
add uid format and length validations
Aldrian Harjati committedJul 24, 2023 Configuration menu - View commit details
-
Copy full SHA for 028fc30 - Browse repository at this point
Copy the full SHA 028fc30View commit details
Commits on Jul 25, 2023
-
Merge pull request #5 from cfpb/fix/pricing_mca_addcost_and_naics_issues
fix pricing_mca_addcost and naics description
Configuration menu - View commit details
-
Copy full SHA for b7f6ab1 - Browse repository at this point
Copy the full SHA b7f6ab1View commit details -
Merge pull request #6 from cfpb/feature/565_census_tract_number
add census_tract_number id validation and function to parse/validate tract ids
Configuration menu - View commit details
-
Copy full SHA for 79d97d3 - Browse repository at this point
Copy the full SHA 79d97d3View commit details -
Merge pull request #20 from cfpb/features/12_add_uid_validation
add uid format and length validations
Configuration menu - View commit details
-
Copy full SHA for 0315b75 - Browse repository at this point
Copy the full SHA 0315b75View commit details -
Changed variable keyword to adjustable (#22)
Co-authored-by: Aldrian Harjati <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e927cd0 - Browse repository at this point
Copy the full SHA e927cd0View commit details
Commits on Aug 4, 2023
-
add uid duplicates_in_dataset validation #1 (#24)
* add uid duplicates_in_dataset validation * changed check function to return series * update 2-phase schema * add count_limit parameter * add more unit tests * removed a duplicated unit test --------- Co-authored-by: Aldrian Harjati <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 68820b8 - Browse repository at this point
Copy the full SHA 68820b8View commit details -
Created a new branch to resolve merge conflicts (#27)
* Created a new branch to resolve merge conflicts * Addressed Le's and Aldrian's comments. In the meantime, working on black formatting. * Modified the comments to reflect the changes * Fixed formatting issues * Fixed data for po_1_ethnicity * Fixed data * Fixed GoodData file issues * Changed format * Modified comments * Addressed the comments * Addressed the comment for line 981 for schema.py * Fixed format in phase_validations.py * cleaned up the comments * Removed the fucntions that the new function "has_valid_fiedlset_pair" is replacing: _is_fieldset_equal_to_helper, _is_fieldset_not_equal_to_helper,is_fieldset_equal_to, is_fieldset_not_equal_to. Also, removed the unit tests for thses. * Fixing merge conflict --------- Co-authored-by: Nargis Sultani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 82700d8 - Browse repository at this point
Copy the full SHA 82700d8View commit details
Commits on Aug 8, 2023
-
Fixed data in goodfile; modified has_valid_enum_pair function; modifi…
…ed schema; modified unit test, removed denial_reasons_conditional_enum_value function and its unit tests
Nargis Sultani committedAug 8, 2023 Configuration menu - View commit details
-
Copy full SHA for 57dd316 - Browse repository at this point
Copy the full SHA 57dd316View commit details
Commits on Aug 9, 2023
-
Merge pull request #28 from cfpb/features/19_fix_has_valid_enum_pair_bug
Fixed data in goodfile; modified has_valid_enum_pair function; modifi…
Configuration menu - View commit details
-
Copy full SHA for d17f9da - Browse repository at this point
Copy the full SHA d17f9daView commit details
Commits on Aug 16, 2023
-
Ticket 11, added invalid_uid_lei validation and unit tests (#30)
* Ticket 11, added invalid_uid_lei validation and unit tests * changed function name * addressed Hans suggestions to have lei passed through command line and have a way to skip this validation * addressed the comments * modified comments * addressed the comment and modified the phase validation * modified function name * fixed typo * addressed the comment * Addressed the comment --------- Co-authored-by: Nargis Sultani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a8c9c4d - Browse repository at this point
Copy the full SHA a8c9c4dView commit details
Commits on Aug 23, 2023
-
Switched to two phase validation and delted schema.py
Nargis Sultani committedAug 23, 2023 Configuration menu - View commit details
-
Copy full SHA for 44f17ce - Browse repository at this point
Copy the full SHA 44f17ceView commit details -
Nargis Sultani committed
Aug 23, 2023 Configuration menu - View commit details
-
Copy full SHA for 9909bda - Browse repository at this point
Copy the full SHA 9909bdaView commit details -
created a function to print errors
Nargis Sultani committedAug 23, 2023 Configuration menu - View commit details
-
Copy full SHA for 8c0beed - Browse repository at this point
Copy the full SHA 8c0beedView commit details -
Nargis Sultani committed
Aug 23, 2023 Configuration menu - View commit details
-
Copy full SHA for 41e781d - Browse repository at this point
Copy the full SHA 41e781dView commit details -
Nargis Sultani committed
Aug 23, 2023 Configuration menu - View commit details
-
Copy full SHA for 776ff8b - Browse repository at this point
Copy the full SHA 776ff8bView commit details
Commits on Aug 25, 2023
-
Nargis Sultani committed
Aug 25, 2023 Configuration menu - View commit details
-
Copy full SHA for b66cbf4 - Browse repository at this point
Copy the full SHA b66cbf4View commit details -
addressed the comment and set error["error"] to a variable
Nargis Sultani committedAug 25, 2023 Configuration menu - View commit details
-
Copy full SHA for 6932a64 - Browse repository at this point
Copy the full SHA 6932a64View commit details -
Nargis Sultani committed
Aug 25, 2023 Configuration menu - View commit details
-
Copy full SHA for cb988f5 - Browse repository at this point
Copy the full SHA cb988f5View commit details
Commits on Aug 26, 2023
-
Merge pull request #38 from cfpb/features/31_switch_to_two-phased_val…
…idation_scheme Switched to two phase validation and deleted schema.py
Configuration menu - View commit details
-
Copy full SHA for 99ff9bc - Browse repository at this point
Copy the full SHA 99ff9bcView commit details
Commits on Aug 29, 2023
-
* use `python-coverage-comment` to run github actions/checks --------- Co-authored-by: Aldrian Harjati <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05e7b8d - Browse repository at this point
Copy the full SHA 05e7b8dView commit details
Commits on Sep 12, 2023
-
Nargis Sultani committed
Sep 12, 2023 Configuration menu - View commit details
-
Copy full SHA for 3a2e316 - Browse repository at this point
Copy the full SHA 3a2e316View commit details -
Nargis Sultani committed
Sep 12, 2023 Configuration menu - View commit details
-
Copy full SHA for 5750789 - Browse repository at this point
Copy the full SHA 5750789View commit details -
Nargis Sultani committed
Sep 12, 2023 Configuration menu - View commit details
-
Copy full SHA for c5f91d5 - Browse repository at this point
Copy the full SHA c5f91d5View commit details -
Nargis Sultani committed
Sep 12, 2023 Configuration menu - View commit details
-
Copy full SHA for 8d2b5c1 - Browse repository at this point
Copy the full SHA 8d2b5c1View commit details -
Nargis Sultani committed
Sep 12, 2023 Configuration menu - View commit details
-
Copy full SHA for fd1ae67 - Browse repository at this point
Copy the full SHA fd1ae67View commit details -
Nargis Sultani committed
Sep 12, 2023 Configuration menu - View commit details
-
Copy full SHA for 604989b - Browse repository at this point
Copy the full SHA 604989bView commit details -
Nargis Sultani committed
Sep 12, 2023 Configuration menu - View commit details
-
Copy full SHA for 804a629 - Browse repository at this point
Copy the full SHA 804a629View commit details -
Nargis Sultani committed
Sep 12, 2023 Configuration menu - View commit details
-
Copy full SHA for 982cfb4 - Browse repository at this point
Copy the full SHA 982cfb4View commit details -
Nargis Sultani committed
Sep 12, 2023 Configuration menu - View commit details
-
Copy full SHA for 7bd9eaa - Browse repository at this point
Copy the full SHA 7bd9eaaView commit details -
Nargis Sultani committed
Sep 12, 2023 Configuration menu - View commit details
-
Copy full SHA for 6ed12a4 - Browse repository at this point
Copy the full SHA 6ed12a4View commit details -
Nargis Sultani committed
Sep 12, 2023 Configuration menu - View commit details
-
Copy full SHA for d7f57a7 - Browse repository at this point
Copy the full SHA d7f57a7View commit details -
Merge pull request #44 from cfpb/features/33_add_validation_id
Task 33, adding validation id
Configuration menu - View commit details
-
Copy full SHA for 822c84c - Browse repository at this point
Copy the full SHA 822c84cView commit details
Commits on Sep 13, 2023
-
Update repo to use poetry (ticket #41) Changes: - Removed requirements.txt - Removed setup.cfg - Updated devcontainer's dockerfile to use poetry (instead of pip) - Created pyproject containing requirements and setup.cfg content - Created poetry.lock - Updated few comments in phase_validations and schema_template (that were not formatted properly). - Updated github-actions tests to use poetry (instead of pip) Tests: - Validate that we still able to execute python through VSCode - Validate that we still able to run Tests through VSCode - Passed linters - Passed unit-tests --------- Co-authored-by: Aldrian Harjati <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 30f16bb - Browse repository at this point
Copy the full SHA 30f16bbView commit details -
Task 40 - added missing validations (#45)
Co-authored-by: Nargis Sultani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4c649af - Browse repository at this point
Copy the full SHA 4c649afView commit details
Commits on Sep 14, 2023
-
add black formatter extension to dev-container json (#46)
Currently, we have to install black-formatter manually after reloading/rebuilding dev-container, and occasionally, we forget to re-install this extension that caused formatting issue. This update will install black-formatter automatically when rebuilding/creating dev-container. Co-authored-by: Aldrian Harjati <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9eff87f - Browse repository at this point
Copy the full SHA 9eff87fView commit details
Commits on Sep 15, 2023
-
update deprecated pandas function (#49)
closed #48 Update: - update deprecated pandas function to fix warning. - update global_data function to make it easier for unit testing. - add global_data unit tests Co-authored-by: Aldrian Harjati <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3ccc989 - Browse repository at this point
Copy the full SHA 3ccc989View commit details
Commits on Sep 21, 2023
-
devcontainer dockerfile update: remove parent paths on pyproject and …
…poetry files (#53) Fixed bug where user cannot setup dev-container in VS code Issue docker cannot get pyproject and poetry files because incorrect path Fix: Removing the parent path because we already defined parent path in devcontainer's build context Test: Successfully load devcontainer in my and nargis laptop --------- Co-authored-by: Aldrian Harjati <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba45555 - Browse repository at this point
Copy the full SHA ba45555View commit details -
Task 42: recreating the PR (#50)
Co-authored-by: Nargis Sultani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for da157c3 - Browse repository at this point
Copy the full SHA da157c3View commit details
Commits on Sep 25, 2023
-
add coverage badge and link to coverage page (#54)
Add code coverage badge in readme to display current coverage status Link to this readme: https://github.com/cfpb/regtech-data-validator/tree/features/add_code_coverage_status#coverage Co-authored-by: Aldrian Harjati <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e919a0f - Browse repository at this point
Copy the full SHA e919a0fView commit details
Commits on Sep 28, 2023
-
55 - update readme with new files and instructions (#57)
closes #55 Update README with updates: - Add phase 1 and phase 2 reference - Add quick notes on new files - Update test instruction with LEI update --------- Co-authored-by: Aldrian Harjati <[email protected]> Co-authored-by: Hans Keeler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f795247 - Browse repository at this point
Copy the full SHA f795247View commit details -
Task 42, creating tests for SampleData GoodFile and BadFile (#56)
Closes #52 I misunderstood the requirements first. I thought we had to create tests to make sure the GoodFile had the correct data for each field. I understood the requirements later. --------- Co-authored-by: Nargis Sultani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f3b1a5d - Browse repository at this point
Copy the full SHA f3b1a5dView commit details
Commits on Oct 12, 2023
-
update readme: - Change focus to use Poetry - Add more details on POETRY steps (installation, developments and tests) - Add more details on VScode development - Add contact/help information --------- Co-authored-by: Aldrian Harjati <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f3bcd45 - Browse repository at this point
Copy the full SHA f3bcd45View commit details
Commits on Oct 20, 2023
-
refactor: standardize repo structure and other prep for open-sourcing (…
…#60) Grab bag of tune-up in prep for open-sourcing this repo. 1. Restructure repo to be more compliant with modern Python projects. 1. Move `tests` out to top-level directory. 2. Rename `src/validator` to `regtech_data_validator`. 2. Consolidate external datasource code and data to `data` dir. 1. Move `config.py` settings into their respective scripts, and file paths are now passed in as CLI args instead. 3. Move processed CSV files into the project itself. This allows for simpler data lookups via package name via `importlib.resources`. This allowed the removal of the `ROOT_PATH` Python path logic in all of the `__init__.py`s. 4. Refactor `global_data.py` to load data only once where module is first imported. 5. Refactor `SBLCheck`'s 1. `warning: bool` for a more explicit `severity`, backed by an enum that only allows `ERROR` and `WARNING`. 1. Several of the warning-level validations were not setting `warning=True`, and were thus defaulting to `False`. This will prevent that. I also fixed all these instances. 2. Removes the need for translation to `severity` when building JSON output. 2. Use explicit args in the constructor, and pass all shared args on to parent class. This removes the need for the arg `name`/`id` error handling. 6. Switch CLI output from Python dict to JSON. 7. Rollback `black` version used in linting Action due to bug in latest version. - psf/black#3953 **Note:** Some of the files that I both moved _and_ changed seem to now show as having deleted the old file and created a new one. I'm not sure why it's doing this. I did the moves and changes in separate commits, which usually prevents this, but doesn't seem to be the case here. Perhaps there's just so much change in some that git considers it a whole new file? 🤷 It's kind of annoying, especially if it results in losing git history for those files.
Configuration menu - View commit details
-
Copy full SHA for 36007b2 - Browse repository at this point
Copy the full SHA 36007b2View commit details
Commits on Nov 8, 2023
-
feat: Replace
main.py
with Typer-based CLI app (#63)### Replace `main.py` to [Typer](https://typer.tiangolo.com/) CLI app The CLI setup in `main.py` is pretty primitive, and is really geared towards _us_, developers on this project. I would like to create a utility that outside technical users can use to test their files against our validation logic. To get there without having to reinvent many wheels, we need an actual CLI framework. That's where [Typer](https://typer.tiangolo.com/) comes in. Typer is a wrapper around [Click](https://click.palletsprojects.com/en/8.1.x/), written by the same dev as FastAPI, so it follows many of the same patterns as we're used to there, such as leaning into Python's `typing` and [Pydantic](https://docs.pydantic.dev/latest/) for example. ### Return validation results as Pandas `DataFrame` instead of vanilla `dict` I also wanted to support multiple output formats; at least json, csv, and default to a human-readable table. And while we _could_ do that with a `dict`, it's much easier to work with `DataFrame`s as they're already tabular in nature and have a ton of transform functionality built-in. So, I have also refactored the `validate` function to return a Panda's `DataFrame` instead of a vanilla `dict`. This made it much easier to output validation data in multiple formats. Along with this, I did a fair bit of refactoring of that surrounding code, breaking up the big monolith function into smaller testable functions. ### `cfpb-val` script To simply using the CLI, I've added a shortcut script so you don't have to call the full path to the Python script. In it's current form, you can now call just... cfpb-val --help ...instead of... python regtech_data_validator/cli.py --help #### Better script name? I'm not in love with `cfpb-val`. I started off with `cfpb-comply`, but I didn't love that either. I'm looking for something that's short, but also very clear that it's CFPB-related, and having to do with this project. `cfpb-rdv`? ### Lots of `README.md` love I've reworked the `README.md` quite a bit, focusing on users coming to this repo for the first time, and trying to get the CLI to work. This includes pushing the Poetry-based install up to the top and simplifying it, slimming and pushing down development-related setup, and adding details about how to use the CLI itself. See: https://github.com/cfpb/regtech-data-validator/blob/add-typer-cli/README.md ### Refactor `lei` arg to more generic `context` In attempt to future-proof this a bit, I've added a multi-value `context` arg to the CLI, which allows you to pass arbitrary `<key>=<value>` pairs, `lei` being the only key that's current used for anything. ### Other tidbits I found along the way - Removed deprecated `python.formatting.provider` VS Code configuration - Removes no longer used `Makefile` - Fixes several validations that had incorrect IDs, severities, or were in the wrong phase --------- Co-authored-by: lchen-2101 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e6210e3 - Browse repository at this point
Copy the full SHA e6210e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f115c8d - Browse repository at this point
Copy the full SHA f115c8dView commit details
Commits on Nov 28, 2023
-
61 : update po validation ids (#62)
closes #61 update - update the principal owner validation IDs to match new ones - update devcontainer docker file to run pip install separately. (background: devcontainer was failing with old setup) --------- Co-authored-by: Aldrian Harjati <[email protected]> Co-authored-by: Nargis Sultani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 62ca709 - Browse repository at this point
Copy the full SHA 62ca709View commit details
Commits on Dec 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d523aa3 - Browse repository at this point
Copy the full SHA d523aa3View commit details
Commits on Dec 28, 2023
-
68 correct validation description errors (#70)
These are all changes to make our python code consistent with the CVS located at https://raw.githubusercontent.com/cfpb/sbl-content/main/fig-files/validation-spec/2024-validations.csv This goes hand in hand with issue #65 Of note is the addition of W0680, which checks the Census GEO id against the census CSV. Majority of the changes involved missing spaces, copy/paste errors, etc. The updates to this file are still in progress as there are 4 errors (E0940, E1120, E1300, E1480) that have descriptions that Chynna and Shomari are looking into to verify if the CSV is correct. So this PR is simply to get a head start.
Configuration menu - View commit details
-
Copy full SHA for fbbbdb3 - Browse repository at this point
Copy the full SHA fbbbdb3View commit details
Commits on Jan 2, 2024
-
65 create test to make sure validations stay in sync with 2024 valida…
…tionscsv (#69) This adds a pytest (test_csv_differences.py) to validate our python code against the CSV located at https://raw.githubusercontent.com/cfpb/sbl-content/main/fig-files/validation-spec/2024-validations.csv This will compare error/warning codes (making sure neither the code nor csv have codes the other doesn't), the type (error or warning) and the description. Special note is taken of E2014 and E2015 due to formatting in the CSV. In the near future when the frontend is ready to start displaying error/warning descriptions, discussions will be had to figure out how we want to display the more complicated descriptions and what sort of formatting the backend should have. Right now, we preserve as much of the formatting as we can but the pytest will also strip all of this off for these two errors (or any others added to the remove_formatting list) and compare just character data. In general, we do NOT want to do this because several strings in our python code were missing spaces and other standard grammatical formatting, and stripping that off would have caused the test to improperly accept that description. This story is being worked in conjunction with #68 which is being used to update the phase_validations.py for other discrepancies found during testing. It is being routinely merged into this branch to properly run the pytest.
Configuration menu - View commit details
-
Copy full SHA for 5aeb5f1 - Browse repository at this point
Copy the full SHA 5aeb5f1View commit details
Commits on Jan 8, 2024
-
Updated README for correct pytest file name (#74)
Closes #73 README updated with test_csv_to_code_differences.py
Configuration menu - View commit details
-
Copy full SHA for 41faf8b - Browse repository at this point
Copy the full SHA 41faf8bView commit details
Commits on Jan 22, 2024
-
Create initial dependabot config (#75)
Add `dependabot.yml` with GitHub Actions and PIP checks. According to the docs, the `pip` value covers Poetry as well. SEE: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem
Configuration menu - View commit details
-
Copy full SHA for b9b03a8 - Browse repository at this point
Copy the full SHA b9b03a8View commit details
Commits on Jan 23, 2024
-
Add codeql.yml to allow tuning of CodeQL Actions (#84)
PR #76 currently cannot be merged because the CodeQL check is blocking it. https://github.com/cfpb/regtech-data-validator/pull/76/checks?check_run_id=20738517606 I don't fully understand this error message, but I'm hopeful switching to the code-based configuration of the CodeQL Action will help with debugging.
Configuration menu - View commit details
-
Copy full SHA for 628278d - Browse repository at this point
Copy the full SHA 628278dView commit details
Commits on Jan 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f117064 - Browse repository at this point
Copy the full SHA f117064View commit details
Commits on Jan 30, 2024
-
Bump black from 23.10.1 to 24.1.1 (#87)
Bumps [black](https://github.com/psf/black) from 23.10.1 to 24.1.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p> <blockquote> <h2>24.1.1</h2> <p>Bugfix release to fix a bug that made Black unusable on certain file systems with strict limits on path length.</p> <h3>Preview style</h3> <ul> <li>Consistently add trailing comma on typed parameters (<a href="https://redirect.github.com/psf/black/issues/4164">#4164</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Shorten the length of the name of the cache file to fix crashes on file systems that do not support long paths (<a href="https://redirect.github.com/psf/black/issues/4176">#4176</a>)</li> </ul> <h2>24.1.0</h2> <h3>Highlights</h3> <p>This release introduces the new 2024 stable style (<a href="https://redirect.github.com/psf/black/issues/4106">#4106</a>), stabilizing the following changes:</p> <ul> <li>Add parentheses around <code>if</code>-<code>else</code> expressions (<a href="https://redirect.github.com/psf/black/issues/2278">#2278</a>)</li> <li>Dummy class and function implementations consisting only of <code>...</code> are formatted more compactly (<a href="https://redirect.github.com/psf/black/issues/3796">#3796</a>)</li> <li>If an assignment statement is too long, we now prefer splitting on the right-hand side (<a href="https://redirect.github.com/psf/black/issues/3368">#3368</a>)</li> <li>Hex codes in Unicode escape sequences are now standardized to lowercase (<a href="https://redirect.github.com/psf/black/issues/2916">#2916</a>)</li> <li>Allow empty first lines at the beginning of most blocks (<a href="https://redirect.github.com/psf/black/issues/3967">#3967</a>, <a href="https://redirect.github.com/psf/black/issues/4061">#4061</a>)</li> <li>Add parentheses around long type annotations (<a href="https://redirect.github.com/psf/black/issues/3899">#3899</a>)</li> <li>Enforce newline after module docstrings (<a href="https://redirect.github.com/psf/black/issues/3932">#3932</a>, <a href="https://redirect.github.com/psf/black/issues/4028">#4028</a>)</li> <li>Fix incorrect magic trailing comma handling in return types (<a href="https://redirect.github.com/psf/black/issues/3916">#3916</a>)</li> <li>Remove blank lines before class docstrings (<a href="https://redirect.github.com/psf/black/issues/3692">#3692</a>)</li> <li>Wrap multiple context managers in parentheses if combined in a single <code>with</code> statement (<a href="https://redirect.github.com/psf/black/issues/3489">#3489</a>)</li> <li>Fix bug in line length calculations for power operations (<a href="https://redirect.github.com/psf/black/issues/3942">#3942</a>)</li> <li>Add trailing commas to collection literals even if there's a comment after the last entry (<a href="https://redirect.github.com/psf/black/issues/3393">#3393</a>)</li> <li>When using <code>--skip-magic-trailing-comma</code> or <code>-C</code>, trailing commas are stripped from subscript expressions with more than 1 element (<a href="https://redirect.github.com/psf/black/issues/3209">#3209</a>)</li> <li>Add extra blank lines in stubs in a few cases (<a href="https://redirect.github.com/psf/black/issues/3564">#3564</a>, <a href="https://redirect.github.com/psf/black/issues/3862">#3862</a>)</li> <li>Accept raw strings as docstrings (<a href="https://redirect.github.com/psf/black/issues/3947">#3947</a>)</li> <li>Split long lines in case blocks (<a href="https://redirect.github.com/psf/black/issues/4024">#4024</a>)</li> <li>Stop removing spaces from walrus operators within subscripts (<a href="https://redirect.github.com/psf/black/issues/3823">#3823</a>)</li> <li>Fix incorrect formatting of certain async statements (<a href="https://redirect.github.com/psf/black/issues/3609">#3609</a>)</li> <li>Allow combining <code># fmt: skip</code> with other comments (<a href="https://redirect.github.com/psf/black/issues/3959">#3959</a>)</li> </ul> <p>There are already a few improvements in the <code>--preview</code> style, which are slated for the 2025 stable style. Try them out and <a href="https://github.com/psf/black/issues">share your feedback</a>. In the past, the preview style has included some features that we were not able to stabilize. This year, we're</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/black/blob/main/CHANGES.md">black's changelog</a>.</em></p> <blockquote> <h2>24.1.1</h2> <p>Bugfix release to fix a bug that made Black unusable on certain file systems with strict limits on path length.</p> <h3>Preview style</h3> <ul> <li>Consistently add trailing comma on typed parameters (<a href="https://redirect.github.com/psf/black/issues/4164">#4164</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Shorten the length of the name of the cache file to fix crashes on file systems that do not support long paths (<a href="https://redirect.github.com/psf/black/issues/4176">#4176</a>)</li> </ul> <h2>24.1.0</h2> <h3>Highlights</h3> <p>This release introduces the new 2024 stable style (<a href="https://redirect.github.com/psf/black/issues/4106">#4106</a>), stabilizing the following changes:</p> <ul> <li>Add parentheses around <code>if</code>-<code>else</code> expressions (<a href="https://redirect.github.com/psf/black/issues/2278">#2278</a>)</li> <li>Dummy class and function implementations consisting only of <code>...</code> are formatted more compactly (<a href="https://redirect.github.com/psf/black/issues/3796">#3796</a>)</li> <li>If an assignment statement is too long, we now prefer splitting on the right-hand side (<a href="https://redirect.github.com/psf/black/issues/3368">#3368</a>)</li> <li>Hex codes in Unicode escape sequences are now standardized to lowercase (<a href="https://redirect.github.com/psf/black/issues/2916">#2916</a>)</li> <li>Allow empty first lines at the beginning of most blocks (<a href="https://redirect.github.com/psf/black/issues/3967">#3967</a>, <a href="https://redirect.github.com/psf/black/issues/4061">#4061</a>)</li> <li>Add parentheses around long type annotations (<a href="https://redirect.github.com/psf/black/issues/3899">#3899</a>)</li> <li>Enforce newline after module docstrings (<a href="https://redirect.github.com/psf/black/issues/3932">#3932</a>, <a href="https://redirect.github.com/psf/black/issues/4028">#4028</a>)</li> <li>Fix incorrect magic trailing comma handling in return types (<a href="https://redirect.github.com/psf/black/issues/3916">#3916</a>)</li> <li>Remove blank lines before class docstrings (<a href="https://redirect.github.com/psf/black/issues/3692">#3692</a>)</li> <li>Wrap multiple context managers in parentheses if combined in a single <code>with</code> statement (<a href="https://redirect.github.com/psf/black/issues/3489">#3489</a>)</li> <li>Fix bug in line length calculations for power operations (<a href="https://redirect.github.com/psf/black/issues/3942">#3942</a>)</li> <li>Add trailing commas to collection literals even if there's a comment after the last entry (<a href="https://redirect.github.com/psf/black/issues/3393">#3393</a>)</li> <li>When using <code>--skip-magic-trailing-comma</code> or <code>-C</code>, trailing commas are stripped from subscript expressions with more than 1 element (<a href="https://redirect.github.com/psf/black/issues/3209">#3209</a>)</li> <li>Add extra blank lines in stubs in a few cases (<a href="https://redirect.github.com/psf/black/issues/3564">#3564</a>, <a href="https://redirect.github.com/psf/black/issues/3862">#3862</a>)</li> <li>Accept raw strings as docstrings (<a href="https://redirect.github.com/psf/black/issues/3947">#3947</a>)</li> <li>Split long lines in case blocks (<a href="https://redirect.github.com/psf/black/issues/4024">#4024</a>)</li> <li>Stop removing spaces from walrus operators within subscripts (<a href="https://redirect.github.com/psf/black/issues/3823">#3823</a>)</li> <li>Fix incorrect formatting of certain async statements (<a href="https://redirect.github.com/psf/black/issues/3609">#3609</a>)</li> <li>Allow combining <code># fmt: skip</code> with other comments (<a href="https://redirect.github.com/psf/black/issues/3959">#3959</a>)</li> </ul> <p>There are already a few improvements in the <code>--preview</code> style, which are slated for the 2025 stable style. Try them out and <a href="https://github.com/psf/black/issues">share your feedback</a>. In the past, the preview style has included some features that we were not able to stabilize. This year, we're</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/black/commit/e026c93888f91a47a9c9f4e029f3eb07d96375e6"><code>e026c93</code></a> Prepare release 24.1.1 (<a href="https://redirect.github.com/psf/black/issues/4186">#4186</a>)</li> <li><a href="https://github.com/psf/black/commit/79fc1158a98281dac798feb14b8fddb4051e4a42"><code>79fc115</code></a> chore: ignore node_modules (produced by a pre-commit check) (<a href="https://redirect.github.com/psf/black/issues/4184">#4184</a>)</li> <li><a href="https://github.com/psf/black/commit/8bf04549ffd276a1bad6eb110e66e6557ee630d9"><code>8bf0454</code></a> Consistently add trailing comma on typed parameters (<a href="https://redirect.github.com/psf/black/issues/4164">#4164</a>)</li> <li><a href="https://github.com/psf/black/commit/1607e9ab20ad550cf940482d0d361ca31fc03189"><code>1607e9a</code></a> Fix missing space in option description (<a href="https://redirect.github.com/psf/black/issues/4182">#4182</a>)</li> <li><a href="https://github.com/psf/black/commit/ed770ba4dd50c419148a0fca2b43937a7447e1f9"><code>ed770ba</code></a> Fix cache file length (<a href="https://redirect.github.com/psf/black/issues/4176">#4176</a>)</li> <li><a href="https://github.com/psf/black/commit/659c29a41c7c686687aef21f57b95bcfa236b03b"><code>659c29a</code></a> New changelog</li> <li><a href="https://github.com/psf/black/commit/0e6e46b9eb45f5a22062fe84c2c2ff46bd0d738e"><code>0e6e46b</code></a> Prepare release 24.1.0 (<a href="https://redirect.github.com/psf/black/issues/4170">#4170</a>)</li> <li><a href="https://github.com/psf/black/commit/4f47cac1925a2232892ceae438e2c62f81517714"><code>4f47cac</code></a> Add --unstable flag (<a href="https://redirect.github.com/psf/black/issues/4096">#4096</a>)</li> <li><a href="https://github.com/psf/black/commit/bccec8adfbed2bbc24c0859e8758d5e7809d42b7"><code>bccec8a</code></a> Show warning on invalid toml configuration (<a href="https://redirect.github.com/psf/black/issues/4165">#4165</a>)</li> <li><a href="https://github.com/psf/black/commit/7d789469ed947022f183962b823f5862511272ac"><code>7d78946</code></a> Describe 2024 module docstring more accurately (<a href="https://redirect.github.com/psf/black/issues/4168">#4168</a>)</li> <li>Additional commits viewable in <a href="https://github.com/psf/black/compare/23.10.1...24.1.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=black&package-manager=pip&previous-version=23.10.1&new-version=24.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hans Keeler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cf3ab14 - Browse repository at this point
Copy the full SHA cf3ab14View commit details
Commits on Jan 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b34e444 - Browse repository at this point
Copy the full SHA b34e444View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13cb4d4 - Browse repository at this point
Copy the full SHA 13cb4d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d15f1c7 - Browse repository at this point
Copy the full SHA d15f1c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4301413 - Browse repository at this point
Copy the full SHA 4301413View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3916ceb - Browse repository at this point
Copy the full SHA 3916cebView commit details
Commits on Feb 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8a5e01a - Browse repository at this point
Copy the full SHA 8a5e01aView commit details
Commits on Feb 2, 2024
-
Added versions to the ruff and black linter actions (#90)
Closes #89 Added versions to the linter actions. Since the pyproject.toml specifies distinct versions for each (instead of say ^24.1.0), I put the version equal to what is in the toml. Note that, as in the other stories referenced, the black linter supports the concept of capability versions. We're just not using itwith: version: 0.0.278here.
Configuration menu - View commit details
-
Copy full SHA for f310513 - Browse repository at this point
Copy the full SHA f310513View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4eec8d - Browse repository at this point
Copy the full SHA b4eec8dView commit details
Commits on Feb 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 99bb560 - Browse repository at this point
Copy the full SHA 99bb560View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22636a4 - Browse repository at this point
Copy the full SHA 22636a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c642646 - Browse repository at this point
Copy the full SHA c642646View commit details
Commits on Feb 9, 2024
-
Update README: Fix
cfpb-val
output, other small updates for clarity (……#95) Small changes to the docs, updating the `cfpb-val` examples' output to match current functionality, and tweaked some other areas for clarity.
Configuration menu - View commit details
-
Copy full SHA for c8e5195 - Browse repository at this point
Copy the full SHA c8e5195View commit details
Commits on Feb 20, 2024
-
Bump pytest from 8.0.0 to 8.0.1 (#97)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.0.0 to 8.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>8.0.1</h2> <h1>pytest 8.0.1 (2024-02-16)</h1> <h2>Bug Fixes</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11875">#11875</a>: Correctly handle errors from <code>getpass.getuser</code>{.interpreted-text role="func"} in Python 3.13.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11879">#11879</a>: Fix an edge case where <code>ExceptionInfo._stringify_exception</code> could crash <code>pytest.raises</code>{.interpreted-text role="func"}.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11906">#11906</a>: Fix regression with <code>pytest.warns</code>{.interpreted-text role="func"} using custom warning subclasses which have more than one parameter in their [__init__]{.title-ref}.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11907">#11907</a>: Fix a regression in pytest 8.0.0 whereby calling <code>pytest.skip</code>{.interpreted-text role="func"} and similar control-flow exceptions within a <code>pytest.warns()</code>{.interpreted-text role="func"} block would get suppressed instead of propagating.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11929">#11929</a>: Fix a regression in pytest 8.0.0 whereby autouse fixtures defined in a module get ignored by the doctests in the module.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11937">#11937</a>: Fix a regression in pytest 8.0.0 whereby items would be collected in reverse order in some circumstances.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/d7d320a15a1f8dae909e0aa71f20ab5daeaa42d3"><code>d7d320a</code></a> Prepare release version 8.0.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/93699166dc3d90676b126d2b1615fbd41cf0be4d"><code>9369916</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/11992">#11992</a> from bluetech/backport-11991</li> <li><a href="https://github.com/pytest-dev/pytest/commit/a232abd56cd7ddc0d6dbeefd851c538ec547ab06"><code>a232abd</code></a> [8.0.x] recwarn: fix pytest.warns handling of Warnings with multiple arguments</li> <li><a href="https://github.com/pytest-dev/pytest/commit/92203d2b78135446510ec70d46452937effcb1d9"><code>92203d2</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/11990">#11990</a> from bluetech/backport-11920</li> <li><a href="https://github.com/pytest-dev/pytest/commit/f1aa9226ac5b1962fdad442652765d5e589c7137"><code>f1aa922</code></a> [8.0.x] recwarn: let base exceptions propagate through <code>pytest.warns</code> again</li> <li><a href="https://github.com/pytest-dev/pytest/commit/d86d08156337b40ad0cf6e4bfe38ecfa0e5eb5bd"><code>d86d081</code></a> [8.0.x] Added <code>logot</code> to the plugin list (<a href="https://redirect.github.com/pytest-dev/pytest/issues/11977">#11977</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/c554c3d200747f9f56b4054619ba4fb6f8910bb5"><code>c554c3d</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/11968">#11968</a> from pytest-dev/backport-11957-to-8.0.x</li> <li><a href="https://github.com/pytest-dev/pytest/commit/a6851e3459159f94387debf0b357c9b6481a2f48"><code>a6851e3</code></a> [8.0.x] main: fix reversed collection order in Session</li> <li><a href="https://github.com/pytest-dev/pytest/commit/e6f6be3bc9e876f1853fdea68ec49cfc1c4c246d"><code>e6f6be3</code></a> [8.0.x] Improve error message when using <a href="https://github.com/pytest"><code>@pytest</code></a>.fixture twice (<a href="https://redirect.github.com/pytest-dev/pytest/issues/11958">#11958</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/23b91d12de9bcbd0ce965bebefcbcc53a588b438"><code>23b91d1</code></a> [8.0.x] Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/11941">#11941</a> from bluetech/doctest-parsefactories (<a href="https://redirect.github.com/pytest-dev/pytest/issues/11948">#11948</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/8.0.0...8.0.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest&package-manager=pip&previous-version=8.0.0&new-version=8.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 477f97a - Browse repository at this point
Copy the full SHA 477f97aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c25c7a - Browse repository at this point
Copy the full SHA 7c25c7aView commit details -
Bump black from 24.1.1 to 24.2.0 (#96)
Bumps [black](https://github.com/psf/black) from 24.1.1 to 24.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p> <blockquote> <h2>24.2.0</h2> <h3>Stable style</h3> <ul> <li>Fixed a bug where comments where mistakenly removed along with redundant parentheses (<a href="https://redirect.github.com/psf/black/issues/4218">#4218</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Move the <code>hug_parens_with_braces_and_square_brackets</code> feature to the unstable style due to an outstanding crash and proposed formatting tweaks (<a href="https://redirect.github.com/psf/black/issues/4198">#4198</a>)</li> <li>Fixed a bug where base expressions caused inconsistent formatting of ** in tenary expression (<a href="https://redirect.github.com/psf/black/issues/4154">#4154</a>)</li> <li>Checking for newline before adding one on docstring that is almost at the line limit (<a href="https://redirect.github.com/psf/black/issues/4185">#4185</a>)</li> <li>Remove redundant parentheses in <code>case</code> statement <code>if</code> guards (<a href="https://redirect.github.com/psf/black/issues/4214">#4214</a>).</li> </ul> <h3>Configuration</h3> <ul> <li>Fix issue where <em>Black</em> would ignore input files in the presence of symlinks (<a href="https://redirect.github.com/psf/black/issues/4222">#4222</a>)</li> <li><em>Black</em> now ignores <code>pyproject.toml</code> that is missing a <code>tool.black</code> section when discovering project root and configuration. Since <em>Black</em> continues to use version control as an indicator of project root, this is expected to primarily change behavior for users in a monorepo setup (desirably). If you wish to preserve previous behavior, simply add an empty <code>[tool.black]</code> to the previously discovered <code>pyproject.toml</code> (<a href="https://redirect.github.com/psf/black/issues/4204">#4204</a>)</li> </ul> <h3>Output</h3> <ul> <li>Black will swallow any <code>SyntaxWarning</code>s or <code>DeprecationWarning</code>s produced by the <code>ast</code> module when performing equivalence checks (<a href="https://redirect.github.com/psf/black/issues/4189">#4189</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>Add a JSONSchema and provide a validate-pyproject entry-point (<a href="https://redirect.github.com/psf/black/issues/4181">#4181</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/black/blob/main/CHANGES.md">black's changelog</a>.</em></p> <blockquote> <h2>24.2.0</h2> <h3>Stable style</h3> <ul> <li>Fixed a bug where comments where mistakenly removed along with redundant parentheses (<a href="https://redirect.github.com/psf/black/issues/4218">#4218</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Move the <code>hug_parens_with_braces_and_square_brackets</code> feature to the unstable style due to an outstanding crash and proposed formatting tweaks (<a href="https://redirect.github.com/psf/black/issues/4198">#4198</a>)</li> <li>Fixed a bug where base expressions caused inconsistent formatting of ** in tenary expression (<a href="https://redirect.github.com/psf/black/issues/4154">#4154</a>)</li> <li>Checking for newline before adding one on docstring that is almost at the line limit (<a href="https://redirect.github.com/psf/black/issues/4185">#4185</a>)</li> <li>Remove redundant parentheses in <code>case</code> statement <code>if</code> guards (<a href="https://redirect.github.com/psf/black/issues/4214">#4214</a>).</li> </ul> <h3>Configuration</h3> <ul> <li>Fix issue where <em>Black</em> would ignore input files in the presence of symlinks (<a href="https://redirect.github.com/psf/black/issues/4222">#4222</a>)</li> <li><em>Black</em> now ignores <code>pyproject.toml</code> that is missing a <code>tool.black</code> section when discovering project root and configuration. Since <em>Black</em> continues to use version control as an indicator of project root, this is expected to primarily change behavior for users in a monorepo setup (desirably). If you wish to preserve previous behavior, simply add an empty <code>[tool.black]</code> to the previously discovered <code>pyproject.toml</code> (<a href="https://redirect.github.com/psf/black/issues/4204">#4204</a>)</li> </ul> <h3>Output</h3> <ul> <li>Black will swallow any <code>SyntaxWarning</code>s or <code>DeprecationWarning</code>s produced by the <code>ast</code> module when performing equivalence checks (<a href="https://redirect.github.com/psf/black/issues/4189">#4189</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>Add a JSONSchema and provide a validate-pyproject entry-point (<a href="https://redirect.github.com/psf/black/issues/4181">#4181</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/black/commit/6fdf8a4af28071ed1d079c01122b34c5d587207a"><code>6fdf8a4</code></a> Prepare release 24.2.0 (<a href="https://redirect.github.com/psf/black/issues/4226">#4226</a>)</li> <li><a href="https://github.com/psf/black/commit/8af439407c051d55f3221cc93795d20bd9af49c9"><code>8af4394</code></a> fix: Don't remove comments along with parens (<a href="https://redirect.github.com/psf/black/issues/4218">#4218</a>)</li> <li><a href="https://github.com/psf/black/commit/35e97769190d8c8fe94d9ea2d70d7d88b22a2642"><code>35e9776</code></a> Bump pre-commit/action from 3.0.0 to 3.0.1 (<a href="https://redirect.github.com/psf/black/issues/4225">#4225</a>)</li> <li><a href="https://github.com/psf/black/commit/23dfc5b2c3b0694a8c27e58e28439591976aaf94"><code>23dfc5b</code></a> Fix ignoring input files for symlink reasons (<a href="https://redirect.github.com/psf/black/issues/4222">#4222</a>)</li> <li><a href="https://github.com/psf/black/commit/a20100395cf6179a81289452efad1d8e72b19682"><code>a201003</code></a> Simplify check for symlinks that resolve outside root (<a href="https://redirect.github.com/psf/black/issues/4221">#4221</a>)</li> <li><a href="https://github.com/psf/black/commit/dab37a6a1117d690d683121edc4d7c8fb8dd75a7"><code>dab37a6</code></a> Remove redundant parentheses in <code>case</code> statement <code>if</code> guards (<a href="https://redirect.github.com/psf/black/issues/4214">#4214</a>)</li> <li><a href="https://github.com/psf/black/commit/32230e6f5c4bc6bb5c469451e15f3f54d9884b51"><code>32230e6</code></a> fix: bug where the doublestar operation had inconsistent formatting. (<a href="https://redirect.github.com/psf/black/issues/4154">#4154</a>)</li> <li><a href="https://github.com/psf/black/commit/7edb50f5a0afc56bb648dc14640ced144366b43a"><code>7edb50f</code></a> fix: additional newline added to docstring when the previous line length is l...</li> <li><a href="https://github.com/psf/black/commit/3e80de3447dee272e9977ab58b1560a669b7b848"><code>3e80de3</code></a> Bump furo from 2023.9.10 to 2024.1.29 in /docs (<a href="https://redirect.github.com/psf/black/issues/4211">#4211</a>)</li> <li><a href="https://github.com/psf/black/commit/a08b480a2f39fb4fc7b210d8b450e33d3879f77d"><code>a08b480</code></a> Bump pypa/cibuildwheel from 2.16.4 to 2.16.5 (<a href="https://redirect.github.com/psf/black/issues/4212">#4212</a>)</li> <li>Additional commits viewable in <a href="https://github.com/psf/black/compare/24.1.1...24.2.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=black&package-manager=pip&previous-version=24.1.1&new-version=24.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hans Keeler <[email protected]> Co-authored-by: Adam <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aad9017 - Browse repository at this point
Copy the full SHA aad9017View commit details
Commits on Feb 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8d14bb9 - Browse repository at this point
Copy the full SHA 8d14bb9View commit details
Commits on Feb 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5eb0a7d - Browse repository at this point
Copy the full SHA 5eb0a7dView commit details
Commits on Mar 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5331a41 - Browse repository at this point
Copy the full SHA 5331a41View commit details
Commits on Mar 4, 2024
-
Bump pytest from 8.0.2 to 8.1.0 (#102)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.0.2 to 8.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>8.1.0</h2> <h1>pytest 8.1.0 (2024-03-03)</h1> <h2>Features</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: Added the new <code>consider_namespace_packages</code>{.interpreted-text role="confval"} configuration option, defaulting to <code>False</code>.</p> <p>If set to <code>True</code>, pytest will attempt to identify modules that are part of <a href="https://packaging.python.org/en/latest/guides/packaging-namespace-packages">namespace packages</a> when importing modules.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11653">#11653</a>: Added the new <code>verbosity_test_cases</code>{.interpreted-text role="confval"} configuration option for fine-grained control of test execution verbosity. See <code>Fine-grained verbosity <pytest.fine_grained_verbosity></code>{.interpreted-text role="ref"} for more details.</p> </li> </ul> <h2>Improvements</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10865">#10865</a>: <code>pytest.warns</code>{.interpreted-text role="func"} now validates that <code>warnings.warn</code>{.interpreted-text role="func"} was called with a [str]{.title-ref} or a [Warning]{.title-ref}. Currently in Python it is possible to use other types, however this causes an exception when <code>warnings.filterwarnings</code>{.interpreted-text role="func"} is used to filter those warnings (see [CPython <a href="https://redirect.github.com/pytest-dev/pytest/issues/103577">#103577</a>](<a href="https://redirect.github.com/python/cpython/issues/103577">python/cpython#103577</a>) for a discussion). While this can be considered a bug in CPython, we decided to put guards in pytest as the error message produced without this check in place is confusing.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11311">#11311</a>: When using <code>--override-ini</code> for paths in invocations without a configuration file defined, the current working directory is used as the relative directory.</p> <p>Previoulsy this would raise an <code>AssertionError</code>{.interpreted-text role="class"}.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: <code>--import-mode=importlib <import-mode-importlib></code>{.interpreted-text role="ref"} now tries to import modules using the standard import mechanism (but still without changing :py<code>sys.path</code>{.interpreted-text role="data"}), falling back to importing modules directly only if that fails.</p> <p>This means that installed packages will be imported under their canonical name if possible first, for example <code>app.core.models</code>, instead of having the module name always be derived from their path (for example <code>.env310.lib.site_packages.app.core.models</code>).</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11801">#11801</a>: Added the <code>iter_parents() <_pytest.nodes.Node.iter_parents></code>{.interpreted-text role="func"} helper method on nodes. It is similar to <code>listchain <_pytest.nodes.Node.listchain></code>{.interpreted-text role="func"}, but goes from bottom to top, and returns an iterator, not a list.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11850">#11850</a>: Added support for <code>sys.last_exc</code>{.interpreted-text role="data"} for post-mortem debugging on Python>=3.12.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11962">#11962</a>: In case no other suitable candidates for configuration file are found, a <code>pyproject.toml</code> (even without a <code>[tool.pytest.ini_options]</code> table) will be considered as the configuration file and define the <code>rootdir</code>.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11978">#11978</a>: Add <code>--log-file-mode</code> option to the logging plugin, enabling appending to log-files. This option accepts either <code>"w"</code> or <code>"a"</code> and defaults to <code>"w"</code>.</p> <p>Previously, the mode was hard-coded to be <code>"w"</code> which truncates the file before logging.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12047">#12047</a>: When multiple finalizers of a fixture raise an exception, now all exceptions are reported as an exception group. Previously, only the first exception was reported.</p> </li> </ul> <h2>Bug Fixes</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11904">#11904</a>: Fixed a regression in pytest 8.0.0 that would cause test collection to fail due to permission errors when using <code>--pyargs</code>.</p> <p>This change improves the collection tree for tests specified using <code>--pyargs</code>, see <code>12043</code>{.interpreted-text role="pull"} for a comparison with pytest 8.0 and <8.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/b9a167f9bbbd6eda4f0360c5bf5b7f5af50f2bc4"><code>b9a167f</code></a> Prepare release version 8.1.0</li> <li><a href="https://github.com/pytest-dev/pytest/commit/00043f7f1047b29fdaeb18e169fe9d6146988cb8"><code>00043f7</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12038">#12038</a> from bluetech/fixtures-rm-arg2index</li> <li><a href="https://github.com/pytest-dev/pytest/commit/f4e10251a4a003495b5228cea421d4de5fa0ce89"><code>f4e1025</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12048">#12048</a> from bluetech/fixture-teardown-excgroup</li> <li><a href="https://github.com/pytest-dev/pytest/commit/43492f5707b38dab9b62dfb829bb41a13579629f"><code>43492f5</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12051">#12051</a> from jakkdl/test_debugging_pythonbreakpoint</li> <li><a href="https://github.com/pytest-dev/pytest/commit/82fe28dae4eec900123175cee87245f37b964e5c"><code>82fe28d</code></a> [automated] Update plugin list (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12049">#12049</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/5e2ee7175c145f84ff9882be9496abb56e6e56f2"><code>5e2ee71</code></a> monkeypatch.delenv PYTHONBREAKPOINT in two tests that previously failed/skipped</li> <li><a href="https://github.com/pytest-dev/pytest/commit/89ee4493ccbcd118349082cd78eb52a761683120"><code>89ee449</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/11997">#11997</a> from nicoddemus/11475-importlib</li> <li><a href="https://github.com/pytest-dev/pytest/commit/8248946a552635f5751a58c7a6dfd24e98db7404"><code>8248946</code></a> Do not collect symlinked tests under Windows (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12050">#12050</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/434282e17f5f1f4fcc1464a0a0921cf19804bdd7"><code>434282e</code></a> fixtures: use exception group when multiple finalizers raise in fixture teardown</li> <li><a href="https://github.com/pytest-dev/pytest/commit/d6134bc21e27efee7a2e264bd089e6c223515904"><code>d6134bc</code></a> doc: document consider_namespace_packages option</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/8.0.2...8.1.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest&package-manager=pip&previous-version=8.0.2&new-version=8.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5793995 - Browse repository at this point
Copy the full SHA 5793995View commit details
Commits on Mar 13, 2024
-
Bump pytest from 8.1.0 to 8.1.1 (#104)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.1.0 to 8.1.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>8.1.1</h2> <h1>pytest 8.1.1 (2024-03-08)</h1> <p>::: {.note} ::: {.title} Note :::</p> <p>This release is not a usual bug fix release -- it contains features and improvements, being a follow up to <code>8.1.0</code>, which has been yanked from PyPI. :::</p> <h2>Features</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: Added the new <code>consider_namespace_packages</code>{.interpreted-text role="confval"} configuration option, defaulting to <code>False</code>.</p> <p>If set to <code>True</code>, pytest will attempt to identify modules that are part of <a href="https://packaging.python.org/en/latest/guides/packaging-namespace-packages">namespace packages</a> when importing modules.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11653">#11653</a>: Added the new <code>verbosity_test_cases</code>{.interpreted-text role="confval"} configuration option for fine-grained control of test execution verbosity. See <code>Fine-grained verbosity <pytest.fine_grained_verbosity></code>{.interpreted-text role="ref"} for more details.</p> </li> </ul> <h2>Improvements</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10865">#10865</a>: <code>pytest.warns</code>{.interpreted-text role="func"} now validates that <code>warnings.warn</code>{.interpreted-text role="func"} was called with a [str]{.title-ref} or a [Warning]{.title-ref}. Currently in Python it is possible to use other types, however this causes an exception when <code>warnings.filterwarnings</code>{.interpreted-text role="func"} is used to filter those warnings (see [CPython <a href="https://redirect.github.com/pytest-dev/pytest/issues/103577">#103577</a>](<a href="https://redirect.github.com/python/cpython/issues/103577">python/cpython#103577</a>) for a discussion). While this can be considered a bug in CPython, we decided to put guards in pytest as the error message produced without this check in place is confusing.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11311">#11311</a>: When using <code>--override-ini</code> for paths in invocations without a configuration file defined, the current working directory is used as the relative directory.</p> <p>Previoulsy this would raise an <code>AssertionError</code>{.interpreted-text role="class"}.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: <code>--import-mode=importlib <import-mode-importlib></code>{.interpreted-text role="ref"} now tries to import modules using the standard import mechanism (but still without changing :py<code>sys.path</code>{.interpreted-text role="data"}), falling back to importing modules directly only if that fails.</p> <p>This means that installed packages will be imported under their canonical name if possible first, for example <code>app.core.models</code>, instead of having the module name always be derived from their path (for example <code>.env310.lib.site_packages.app.core.models</code>).</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11801">#11801</a>: Added the <code>iter_parents() <_pytest.nodes.Node.iter_parents></code>{.interpreted-text role="func"} helper method on nodes. It is similar to <code>listchain <_pytest.nodes.Node.listchain></code>{.interpreted-text role="func"}, but goes from bottom to top, and returns an iterator, not a list.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11850">#11850</a>: Added support for <code>sys.last_exc</code>{.interpreted-text role="data"} for post-mortem debugging on Python>=3.12.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11962">#11962</a>: In case no other suitable candidates for configuration file are found, a <code>pyproject.toml</code> (even without a <code>[tool.pytest.ini_options]</code> table) will be considered as the configuration file and define the <code>rootdir</code>.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11978">#11978</a>: Add <code>--log-file-mode</code> option to the logging plugin, enabling appending to log-files. This option accepts either <code>"w"</code> or <code>"a"</code> and defaults to <code>"w"</code>.</p> <p>Previously, the mode was hard-coded to be <code>"w"</code> which truncates the file before logging.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/81653ee385f4c62ee7e64502a7b7530096553115"><code>81653ee</code></a> Adjust changelog manually for 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/e60b4b9ed80f761e3a51868a01338911a567b093"><code>e60b4b9</code></a> Prepare release version 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/15fbe57c44fed6737f5c6dad99cf4437b6755a6c"><code>15fbe57</code></a> [8.1.x] Revert legacy path removals (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12093">#12093</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/86c3aab005a98de7e12ee5e37782837f5db70ac3"><code>86c3aab</code></a> [8.1.x] Do not import duplicated modules with --importmode=importlib (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12077">#12077</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/5b82b0cd20c3adcc21f34ae30c595c7355a87e23"><code>5b82b0c</code></a> [8.1.x] Yank version 8.1.0 (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12076">#12076</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/0a536810dc5f51dac99bdb90dde06704b5aa034e"><code>0a53681</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12054">#12054</a> from pytest-dev/release-8.1.0</li> <li>See full diff in <a href="https://github.com/pytest-dev/pytest/compare/8.1.0...8.1.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest&package-manager=pip&previous-version=8.1.0&new-version=8.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d0ea52c - Browse repository at this point
Copy the full SHA d0ea52cView commit details -
Bump pandera from 0.18.0 to 0.18.3 (#107)
Bumps [pandera](https://github.com/pandera-dev/pandera) from 0.18.0 to 0.18.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pandera-dev/pandera/releases">pandera's releases</a>.</em></p> <blockquote> <h2>Release v0.18.3: Bugfix issue with SeriesSchema Index validation</h2> <h2>What's Changed</h2> <ul> <li>bugfix: add index validation to SeriesSchema by <a href="https://github.com/cosmicBboy"><code>@cosmicBboy</code></a> in <a href="https://redirect.github.com/unionai-oss/pandera/pull/1524">unionai-oss/pandera#1524</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/unionai-oss/pandera/compare/v0.18.2...v0.18.3">https://github.com/unionai-oss/pandera/compare/v0.18.2...v0.18.3</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/unionai-oss/pandera/commit/17c558f392e2c6f3c176cd0375a52371ae697d84"><code>17c558f</code></a> bugfix: add index validation to SeriesSchema (<a href="https://redirect.github.com/pandera-dev/pandera/issues/1524">#1524</a>)</li> <li><a href="https://github.com/unionai-oss/pandera/commit/6c11fbb917286d8f6e64f3c070ff66acde6dc420"><code>6c11fbb</code></a> fix try pandera page</li> <li><a href="https://github.com/unionai-oss/pandera/commit/0c2533a668ec2462999053157417a079aab533fb"><code>0c2533a</code></a> update try pandera notebook style</li> <li><a href="https://github.com/unionai-oss/pandera/commit/2432bf072898443068b0236b710347b8c2350824"><code>2432bf0</code></a> Granular validations on pandas dfs (<a href="https://redirect.github.com/pandera-dev/pandera/issues/1490">#1490</a>)</li> <li><a href="https://github.com/unionai-oss/pandera/commit/f86675efffcce59f58077a9c1c163bf0783aeb8e"><code>f86675e</code></a> remove headers in requirements files (<a href="https://redirect.github.com/pandera-dev/pandera/issues/1512">#1512</a>)</li> <li><a href="https://github.com/unionai-oss/pandera/commit/10cac4047efbba12c60554dd0af5d5e2679bdfab"><code>10cac40</code></a> Efficient Hypothesis strategies (<a href="https://redirect.github.com/pandera-dev/pandera/issues/1503">#1503</a>)</li> <li><a href="https://github.com/unionai-oss/pandera/commit/e697eb28b627cc58b72caf04cbe0da834dace773"><code>e697eb2</code></a> add pandas 2.2.0 to tests, use uv for pip compile (<a href="https://redirect.github.com/pandera-dev/pandera/issues/1502">#1502</a>)</li> <li><a href="https://github.com/unionai-oss/pandera/commit/c79ccc7ad6eaa663c02845de1fff9b5ce874397f"><code>c79ccc7</code></a> Bump jinja2 from 3.1.2 to 3.1.3 in /dev (<a href="https://redirect.github.com/pandera-dev/pandera/issues/1458">#1458</a>)</li> <li><a href="https://github.com/unionai-oss/pandera/commit/3c8c28be5e31b808747303e6dbacd7111e6b1571"><code>3c8c28b</code></a> Pandas 2.2.0 FutureWarning resolution by using assignment instead of inplace ...</li> <li><a href="https://github.com/unionai-oss/pandera/commit/971bf5fe900a113ea45a66d5f1c39b5d6ca835e5"><code>971bf5f</code></a> Bump starlette from 0.27.0 to 0.36.2 in /dev (<a href="https://redirect.github.com/pandera-dev/pandera/issues/1489">#1489</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pandera-dev/pandera/compare/v0.18.0...v0.18.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pandera&package-manager=pip&previous-version=0.18.0&new-version=0.18.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c5ae51c - Browse repository at this point
Copy the full SHA c5ae51cView commit details -
Bump ruff from 0.3.0 to 0.3.2 (#106)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.3.0 to 0.3.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>v0.3.2</h2> <h2>Changes</h2> <h3>Preview features</h3> <ul> <li>Improve single-<code>with</code> item formatting for Python 3.8 or older (<a href="https://redirect.github.com/astral-sh/ruff/pull/10276">#10276</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>pyupgrade</code>] Allow fixes for f-string rule regardless of line length (<code>UP032</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10263">#10263</a>)</li> <li>[<code>pycodestyle</code>] Include actual conditions in E712 diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/pull/10254">#10254</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Fix trailing kwargs end of line comment after slash (<a href="https://redirect.github.com/astral-sh/ruff/pull/10297">#10297</a>)</li> <li>Fix unstable <code>with</code> items formatting (<a href="https://redirect.github.com/astral-sh/ruff/pull/10274">#10274</a>)</li> <li>Avoid repeating function calls in f-string conversions (<a href="https://redirect.github.com/astral-sh/ruff/pull/10265">#10265</a>)</li> <li>Fix E203 false positive for slices in format strings (<a href="https://redirect.github.com/astral-sh/ruff/pull/10280">#10280</a>)</li> <li>Fix incorrect <code>Parameter</code> range for <code>*args</code> and <code>**kwargs</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10283">#10283</a>)</li> <li>Treat <code>typing.Annotated</code> subscripts as type definitions (<a href="https://redirect.github.com/astral-sh/ruff/pull/10285">#10285</a>)</li> </ul> <h2>Contributors</h2> <ul> <li><a href="https://github.com/AlexWaygood"><code>@AlexWaygood</code></a></li> <li><a href="https://github.com/GtrMo"><code>@GtrMo</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li> <li><a href="https://github.com/sciyoshi"><code>@sciyoshi</code></a></li> <li><a href="https://github.com/tjkuson"><code>@tjkuson</code></a></li> </ul> <h2>v0.3.1</h2> <h2>Changes</h2> <h3>Preview features</h3> <ul> <li>[<code>pycodestyle</code>] Fix E301 not triggering on decorated methods. (<a href="https://redirect.github.com/astral-sh/ruff/pull/10117">#10117</a>)</li> <li>[<code>pycodestyle</code>] Respect <code>isort</code> settings in blank line rules (<code>E3*</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10096">#10096</a>)</li> <li>[<code>pycodestyle</code>] Make blank lines in typing stub files optional (<code>E3*</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10098">#10098</a>)</li> <li>[<code>pylint</code>] Implement <code>singledispatch-method</code> (<code>E1519</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10140">#10140</a>)</li> <li>[<code>pylint</code>] Implement <code>useless-exception-statement</code> (<code>W0133</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10176">#10176</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-debugger</code>] Check for use of <code>debugpy</code> and <code>ptvsd</code> debug modules (<a href="https://redirect.github.com/astral-sh/ruff/issues/10177">#10177</a>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10194">#10194</a>)</li> <li>[<code>pyupgrade</code>] Generate diagnostic for all valid f-string conversions regardless of line length (<code>UP032</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10238">#10238</a>)</li> <li>[<code>pep8_naming</code>] Add fixes for <code>N804</code> and <code>N805</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10215">#10215</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Colorize the output of <code>ruff format --diff</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10110">#10110</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.3.2</h2> <h3>Preview features</h3> <ul> <li>Improve single-<code>with</code> item formatting for Python 3.8 or older (<a href="https://redirect.github.com/astral-sh/ruff/pull/10276">#10276</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>pyupgrade</code>] Allow fixes for f-string rule regardless of line length (<code>UP032</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10263">#10263</a>)</li> <li>[<code>pycodestyle</code>] Include actual conditions in E712 diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/pull/10254">#10254</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Fix trailing kwargs end of line comment after slash (<a href="https://redirect.github.com/astral-sh/ruff/pull/10297">#10297</a>)</li> <li>Fix unstable <code>with</code> items formatting (<a href="https://redirect.github.com/astral-sh/ruff/pull/10274">#10274</a>)</li> <li>Avoid repeating function calls in f-string conversions (<a href="https://redirect.github.com/astral-sh/ruff/pull/10265">#10265</a>)</li> <li>Fix E203 false positive for slices in format strings (<a href="https://redirect.github.com/astral-sh/ruff/pull/10280">#10280</a>)</li> <li>Fix incorrect <code>Parameter</code> range for <code>*args</code> and <code>**kwargs</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10283">#10283</a>)</li> <li>Treat <code>typing.Annotated</code> subscripts as type definitions (<a href="https://redirect.github.com/astral-sh/ruff/pull/10285">#10285</a>)</li> </ul> <h2>0.3.1</h2> <h3>Preview features</h3> <ul> <li>[<code>pycodestyle</code>] Fix E301 not triggering on decorated methods. (<a href="https://redirect.github.com/astral-sh/ruff/pull/10117">#10117</a>)</li> <li>[<code>pycodestyle</code>] Respect <code>isort</code> settings in blank line rules (<code>E3*</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10096">#10096</a>)</li> <li>[<code>pycodestyle</code>] Make blank lines in typing stub files optional (<code>E3*</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10098">#10098</a>)</li> <li>[<code>pylint</code>] Implement <code>singledispatch-method</code> (<code>E1519</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10140">#10140</a>)</li> <li>[<code>pylint</code>] Implement <code>useless-exception-statement</code> (<code>W0133</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10176">#10176</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-debugger</code>] Check for use of <code>debugpy</code> and <code>ptvsd</code> debug modules (<a href="https://redirect.github.com/astral-sh/ruff/issues/10177">#10177</a>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10194">#10194</a>)</li> <li>[<code>pyupgrade</code>] Generate diagnostic for all valid f-string conversions regardless of line length (<code>UP032</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10238">#10238</a>)</li> <li>[<code>pep8_naming</code>] Add fixes for <code>N804</code> and <code>N805</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10215">#10215</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Colorize the output of <code>ruff format --diff</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10110">#10110</a>)</li> <li>Make <code>--config</code> and <code>--isolated</code> global flags (<a href="https://redirect.github.com/astral-sh/ruff/pull/10150">#10150</a>)</li> <li>Correctly expand tildes and environment variables in paths passed to <code>--config</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10219">#10219</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Accept a PEP 440 version specifier for <code>required-version</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10216">#10216</a>)</li> <li>Implement isort's <code>default-section</code> setting (<a href="https://redirect.github.com/astral-sh/ruff/pull/10149">#10149</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Remove trailing space from <code>CapWords</code> message (<a href="https://redirect.github.com/astral-sh/ruff/pull/10220">#10220</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/a892fc755d6d4342c2f5a768aa50a401d704ae2c"><code>a892fc7</code></a> Bump version to v0.3.2 (<a href="https://redirect.github.com/astral-sh/ruff/issues/10304">#10304</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/a067d87ccc9a8e0348b1a2421b7879514d4f26c0"><code>a067d87</code></a> Fix incorrect <code>Parameter</code> range for <code>*args</code> and <code>**kwargs</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/10283">#10283</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/b64f2ea40192436639f668f4a342fcb04b0e4071"><code>b64f2ea</code></a> Formatter: Improve single-with item formatting for Python 3.8 or older (<a href="https://redirect.github.com/astral-sh/ruff/issues/10276">#10276</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/4bce80106545af8d1edd028c7085a9e9d703fc6b"><code>4bce801</code></a> Fix unstable with-items formatting (<a href="https://redirect.github.com/astral-sh/ruff/issues/10274">#10274</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/a56d42f1839cb9b44f0fc369c441f4d329ed868a"><code>a56d42f</code></a> Refactor with statement formatting to have explicit layouts (<a href="https://redirect.github.com/astral-sh/ruff/issues/10296">#10296</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/1d97f2733554c6825c8b4d3e1936d864e0cf4871"><code>1d97f27</code></a> Start tracking quoting style in the AST (<a href="https://redirect.github.com/astral-sh/ruff/issues/10298">#10298</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/965adbed4b56a76d6cce02534e47c4d7a2a9cd32"><code>965adbe</code></a> Fix trailing kwargs end of line comment after slash (<a href="https://redirect.github.com/astral-sh/ruff/issues/10297">#10297</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/c504d7ab11308a08d6d91af7d6f47fc3b2ba4165"><code>c504d7a</code></a> Track quoting style in the tokenizer (<a href="https://redirect.github.com/astral-sh/ruff/issues/10256">#10256</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/72c9f7e4c9928ad2714e8ca68c1defe2e778d4f3"><code>72c9f7e</code></a> Include actual conditions in E712 diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/issues/10254">#10254</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/57be3fce900488a9ce1a0187863599ddf1c0d3ed"><code>57be3fc</code></a> Treat <code>typing.Annotated</code> subscripts as type definitions (<a href="https://redirect.github.com/astral-sh/ruff/issues/10285">#10285</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/v0.3.0...v0.3.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.3.0&new-version=0.3.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 38894d2 - Browse repository at this point
Copy the full SHA 38894d2View commit details
Commits on Mar 18, 2024
-
Bump ruff from 0.3.2 to 0.3.3 (#108)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.3.2 to 0.3.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>v0.3.3</h2> <h2>Changes</h2> <h3>Preview features</h3> <ul> <li>[<code>flake8-bandit</code>]: Implement <code>S610</code> rule (<a href="https://redirect.github.com/astral-sh/ruff/pull/10316">#10316</a>)</li> <li>[<code>pycodestyle</code>] Implement <code>blank-line-at-end-of-file</code> (<code>W391</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10243">#10243</a>)</li> <li>[<code>pycodestyle</code>] Implement <code>redundant-backslash</code> (<code>E502</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10292">#10292</a>)</li> <li>[<code>pylint</code>] - implement <code>redeclared-assigned-name</code> (<code>W0128</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/9268">#9268</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8_comprehensions</code>] Handled special case for <code>C400</code> which also matches <code>C416</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10419">#10419</a>)</li> <li>[<code>flake8-bandit</code>] Implement upstream updates for <code>S311</code>, <code>S324</code> and <code>S605</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10313">#10313</a>)</li> <li>[<code>pyflakes</code>] Remove <code>F401</code> fix for <code>__init__</code> imports by default and allow opt-in to unsafe fix (<a href="https://redirect.github.com/astral-sh/ruff/pull/10365">#10365</a>)</li> <li>[<code>pylint</code>] Implement <code>invalid-bool-return-type</code> (<code>E304</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10377">#10377</a>)</li> <li>[<code>pylint</code>] Include builtin warnings in useless-exception-statement (<code>PLW0133</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10394">#10394</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Add message on success to <code>ruff check</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/8631">#8631</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>PIE970</code>] Allow trailing ellipsis in <code>typing.TYPE_CHECKING</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10413">#10413</a>)</li> <li>Avoid <code>TRIO115</code> if the argument is a variable (<a href="https://redirect.github.com/astral-sh/ruff/pull/10376">#10376</a>)</li> <li>[<code>F811</code>] Avoid removing shadowed imports that point to different symbols (<a href="https://redirect.github.com/astral-sh/ruff/pull/10387">#10387</a>)</li> <li>Fix <code>F821</code> and <code>F822</code> false positives in <code>.pyi</code> files (<a href="https://redirect.github.com/astral-sh/ruff/pull/10341">#10341</a>)</li> <li>Fix <code>F821</code> false negatives in <code>.py</code> files when <code>from __future__ import annotations</code> is active (<a href="https://redirect.github.com/astral-sh/ruff/pull/10362">#10362</a>)</li> <li>Fix case where <code>Indexer</code> fails to identify continuation preceded by newline <a href="https://redirect.github.com/astral-sh/ruff/issues/10351">#10351</a> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10354">#10354</a>)</li> <li>Sort hash maps in <code>Settings</code> display (<a href="https://redirect.github.com/astral-sh/ruff/pull/10370">#10370</a>)</li> <li>Track conditional deletions in the semantic model (<a href="https://redirect.github.com/astral-sh/ruff/pull/10415">#10415</a>)</li> <li>[<code>C413</code>] Wrap expressions in parentheses when negating (<a href="https://redirect.github.com/astral-sh/ruff/pull/10346">#10346</a>)</li> <li>[<code>pycodestyle</code>] Do not ignore lines before the first logical line in blank lines rules. (<a href="https://redirect.github.com/astral-sh/ruff/pull/10382">#10382</a>)</li> <li>[<code>pycodestyle</code>] Do not trigger <code>E225</code> and <code>E275</code> when the next token is a ')' (<a href="https://redirect.github.com/astral-sh/ruff/pull/10315">#10315</a>)</li> <li>[<code>pylint</code>] Avoid false-positive slot non-assignment for <code>__dict__</code> (<code>PLE0237</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10348">#10348</a>)</li> <li>Gate f-string struct size test for Rustc < 1.76 (<a href="https://redirect.github.com/astral-sh/ruff/pull/10371">#10371</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Use <code>ruff.toml</code> format in README (<a href="https://redirect.github.com/astral-sh/ruff/pull/10393">#10393</a>)</li> <li>[<code>RUF008</code>] Make it clearer that a mutable default in a dataclass is only valid if it is typed as a ClassVar (<a href="https://redirect.github.com/astral-sh/ruff/pull/10395">#10395</a>)</li> <li>[<code>pylint</code>] Extend docs and test in <code>invalid-str-return-type</code> (<code>E307</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10400">#10400</a>)</li> <li>Remove <code>.</code> from <code>check</code> and <code>format</code> commands (<a href="https://redirect.github.com/astral-sh/ruff/pull/10217">#10217</a>)</li> </ul> <h2>Contributors</h2> <ul> <li><a href="https://github.com/AlexWaygood"><code>@AlexWaygood</code></a></li> <li><a href="https://github.com/Guilherme-Vasconcelos"><code>@Guilherme-Vasconcelos</code></a></li> <li><a href="https://github.com/KotlinIsland"><code>@KotlinIsland</code></a></li> <li><a href="https://github.com/anuraaga"><code>@anuraaga</code></a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.3.3</h2> <h3>Preview features</h3> <ul> <li>[<code>flake8-bandit</code>]: Implement <code>S610</code> rule (<a href="https://redirect.github.com/astral-sh/ruff/pull/10316">#10316</a>)</li> <li>[<code>pycodestyle</code>] Implement <code>blank-line-at-end-of-file</code> (<code>W391</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10243">#10243</a>)</li> <li>[<code>pycodestyle</code>] Implement <code>redundant-backslash</code> (<code>E502</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10292">#10292</a>)</li> <li>[<code>pylint</code>] - implement <code>redeclared-assigned-name</code> (<code>W0128</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/9268">#9268</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8_comprehensions</code>] Handled special case for <code>C400</code> which also matches <code>C416</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10419">#10419</a>)</li> <li>[<code>flake8-bandit</code>] Implement upstream updates for <code>S311</code>, <code>S324</code> and <code>S605</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10313">#10313</a>)</li> <li>[<code>pyflakes</code>] Remove <code>F401</code> fix for <code>__init__</code> imports by default and allow opt-in to unsafe fix (<a href="https://redirect.github.com/astral-sh/ruff/pull/10365">#10365</a>)</li> <li>[<code>pylint</code>] Implement <code>invalid-bool-return-type</code> (<code>E304</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10377">#10377</a>)</li> <li>[<code>pylint</code>] Include builtin warnings in useless-exception-statement (<code>PLW0133</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10394">#10394</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Add message on success to <code>ruff check</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/8631">#8631</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>PIE970</code>] Allow trailing ellipsis in <code>typing.TYPE_CHECKING</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10413">#10413</a>)</li> <li>Avoid <code>TRIO115</code> if the argument is a variable (<a href="https://redirect.github.com/astral-sh/ruff/pull/10376">#10376</a>)</li> <li>[<code>F811</code>] Avoid removing shadowed imports that point to different symbols (<a href="https://redirect.github.com/astral-sh/ruff/pull/10387">#10387</a>)</li> <li>Fix <code>F821</code> and <code>F822</code> false positives in <code>.pyi</code> files (<a href="https://redirect.github.com/astral-sh/ruff/pull/10341">#10341</a>)</li> <li>Fix <code>F821</code> false negatives in <code>.py</code> files when <code>from __future__ import annotations</code> is active (<a href="https://redirect.github.com/astral-sh/ruff/pull/10362">#10362</a>)</li> <li>Fix case where <code>Indexer</code> fails to identify continuation preceded by newline <a href="https://redirect.github.com/astral-sh/ruff/issues/10351">#10351</a> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10354">#10354</a>)</li> <li>Sort hash maps in <code>Settings</code> display (<a href="https://redirect.github.com/astral-sh/ruff/pull/10370">#10370</a>)</li> <li>Track conditional deletions in the semantic model (<a href="https://redirect.github.com/astral-sh/ruff/pull/10415">#10415</a>)</li> <li>[<code>C413</code>] Wrap expressions in parentheses when negating (<a href="https://redirect.github.com/astral-sh/ruff/pull/10346">#10346</a>)</li> <li>[<code>pycodestyle</code>] Do not ignore lines before the first logical line in blank lines rules. (<a href="https://redirect.github.com/astral-sh/ruff/pull/10382">#10382</a>)</li> <li>[<code>pycodestyle</code>] Do not trigger <code>E225</code> and <code>E275</code> when the next token is a ')' (<a href="https://redirect.github.com/astral-sh/ruff/pull/10315">#10315</a>)</li> <li>[<code>pylint</code>] Avoid false-positive slot non-assignment for <code>__dict__</code> (<code>PLE0237</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10348">#10348</a>)</li> <li>Gate f-string struct size test for Rustc < 1.76 (<a href="https://redirect.github.com/astral-sh/ruff/pull/10371">#10371</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Use <code>ruff.toml</code> format in README (<a href="https://redirect.github.com/astral-sh/ruff/pull/10393">#10393</a>)</li> <li>[<code>RUF008</code>] Make it clearer that a mutable default in a dataclass is only valid if it is typed as a ClassVar (<a href="https://redirect.github.com/astral-sh/ruff/pull/10395">#10395</a>)</li> <li>[<code>pylint</code>] Extend docs and test in <code>invalid-str-return-type</code> (<code>E307</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10400">#10400</a>)</li> <li>Remove <code>.</code> from <code>check</code> and <code>format</code> commands (<a href="https://redirect.github.com/astral-sh/ruff/pull/10217">#10217</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/608df9a1bc0e6025049add877d1d833f1739e966"><code>608df9a</code></a> Bump version to 0.3.3 (<a href="https://redirect.github.com/astral-sh/ruff/issues/10425">#10425</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/740c08b033d835f071e4887cea2f608d6cc662c6"><code>740c08b</code></a> [<code>pylint</code>] - implement <code>redeclared-assigned-name</code> (<code>W0128</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/9268">#9268</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/7e652e8fcb7e9a4c331d8b8829adbf135154fa0f"><code>7e652e8</code></a> [<code>flake8_comprehensions</code>] Handled special case for <code>C400</code> which also matches ...</li> <li><a href="https://github.com/astral-sh/ruff/commit/9675e1867a73e536a609e971f2e823c799771afc"><code>9675e18</code></a> Allow trailing ellipsis in <code>typing.TYPE_CHECKING</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/10413">#10413</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/10ace88e9a7423271441ba314e788daee53e00f0"><code>10ace88</code></a> Track conditional deletions in the semantic model (<a href="https://redirect.github.com/astral-sh/ruff/issues/10415">#10415</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/a8e50a7f40b2883b904d9ba347ef01c466179a75"><code>a8e50a7</code></a> [RUF008] Make it clearer that a mutable default in a dataclass is only valid ...</li> <li><a href="https://github.com/astral-sh/ruff/commit/e944c16c4601af3b503f2ac19d3f9266aae7660d"><code>e944c16</code></a> [<code>pycodestyle</code>] Do not ignore lines before the first logical line in blank li...</li> <li><a href="https://github.com/astral-sh/ruff/commit/5f40371ffc2073fec7e66c3014bb1f765845bfd1"><code>5f40371</code></a> Use <code>ExprFString</code> for <code>StringLike::FString</code> variant (<a href="https://redirect.github.com/astral-sh/ruff/issues/10311">#10311</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/f7802ad5dea287f3c853ffaf14a8b2c5dd7daa67"><code>f7802ad</code></a> [<code>pylint</code>] Extend docs and test in <code>invalid-str-return-type</code> (<code>E307</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/10400">#10400</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/e832327a56be73d48733506863711a3740f15877"><code>e832327</code></a> Require --preview for <code>ruff server</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/10368">#10368</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/v0.3.2...v0.3.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.3.2&new-version=0.3.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0d4e36f - Browse repository at this point
Copy the full SHA 0d4e36fView commit details -
Bump black from 24.2.0 to 24.3.0 (#109)
Bumps [black](https://github.com/psf/black) from 24.2.0 to 24.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p> <blockquote> <h2>24.3.0</h2> <h3>Highlights</h3> <p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p> <p>This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p> <h3>Stable style</h3> <ul> <li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li>Fix a bug where line-ranges exceeding the last code line would not work as expected (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>. (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/black/blob/main/CHANGES.md">black's changelog</a>.</em></p> <blockquote> <h2>24.3.0</h2> <h3>Highlights</h3> <p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p> <p>This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p> <h3>Stable style</h3> <ul> <li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li>Fix a bug where line-ranges exceeding the last code line would not work as expected (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>. (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/black/commit/552baf822992936134cbd31a38f69c8cfe7c0f05"><code>552baf8</code></a> Prepare release 24.3.0 (<a href="https://redirect.github.com/psf/black/issues/4279">#4279</a>)</li> <li><a href="https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8"><code>f000936</code></a> Fix catastrophic performance in lines_with_leading_tabs_expanded() (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> <li><a href="https://github.com/psf/black/commit/7b5a657285f38126bf28483478bbd9ea928077ec"><code>7b5a657</code></a> Fix --line-ranges behavior when ranges are at EOF (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> <li><a href="https://github.com/psf/black/commit/1abcffc81816257985678f08c61584ed4287f22a"><code>1abcffc</code></a> Use regex where we ignore case on windows (<a href="https://redirect.github.com/psf/black/issues/4252">#4252</a>)</li> <li><a href="https://github.com/psf/black/commit/719e67462c80574c81a96faa144886de6da84489"><code>719e674</code></a> Fix 4227: Improve documentation for --quiet --check (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> <li><a href="https://github.com/psf/black/commit/e5510afc06cd238cd0cba4095283943a870a7e7b"><code>e5510af</code></a> update plugin url for Thonny (<a href="https://redirect.github.com/psf/black/issues/4259">#4259</a>)</li> <li><a href="https://github.com/psf/black/commit/6af7d1109693c4ad3af08ecbc34649c232b47a6d"><code>6af7d11</code></a> Fix AST safety check false negative (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li><a href="https://github.com/psf/black/commit/f03ee113c9f3dfeb477f2d4247bfb7de2e5f465c"><code>f03ee11</code></a> Ensure <code>blib2to3.pygram</code> is initialized before use (<a href="https://redirect.github.com/psf/black/issues/4224">#4224</a>)</li> <li><a href="https://github.com/psf/black/commit/e4bfedbec2e8b10cc6b7b31442478f05db0ce06d"><code>e4bfedb</code></a> fix: Don't move comments while splitting delimiters (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li><a href="https://github.com/psf/black/commit/d0287e1f7558d97e6c0ebd6dc5bcb5b970e2bf8c"><code>d0287e1</code></a> Make trailing comma logic more concise (<a href="https://redirect.github.com/psf/black/issues/4202">#4202</a>)</li> <li>Additional commits viewable in <a href="https://github.com/psf/black/compare/24.2.0...24.3.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=black&package-manager=pip&previous-version=24.2.0&new-version=24.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for be72b8d - Browse repository at this point
Copy the full SHA be72b8dView commit details
Commits on Mar 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4775a52 - Browse repository at this point
Copy the full SHA 4775a52View commit details
Commits on Mar 22, 2024
-
moved regtech_data_validator under src folder (#114)
closes [#110 ](#110) Co-authored-by: Nargis Sultani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 018a25c - Browse repository at this point
Copy the full SHA 018a25cView commit details -
Bump ruff from 0.3.3 to 0.3.4 (#115)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.3.3 to 0.3.4. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.3.4</h2> <h3>Preview features</h3> <ul> <li>[<code>flake8-simplify</code>] Detect implicit <code>else</code> cases in <code>needless-bool</code> (<code>SIM103</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10414">#10414</a>)</li> <li>[<code>pylint</code>] Implement <code>nan-comparison</code> (<code>PLW0117</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10401">#10401</a>)</li> <li>[<code>pylint</code>] Implement <code>nonlocal-and-global</code> (<code>E115</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10407">#10407</a>)</li> <li>[<code>pylint</code>] Implement <code>singledispatchmethod-function</code> (<code>PLE5120</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10428">#10428</a>)</li> <li>[<code>refurb</code>] Implement <code>list-reverse-copy</code> (<code>FURB187</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10212">#10212</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-pytest-style</code>] Add automatic fix for <code>pytest-parametrize-values-wrong-type</code> (<code>PT007</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10461">#10461</a>)</li> <li>[<code>pycodestyle</code>] Allow SPDX license headers to exceed the line length (<code>E501</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10481">#10481</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Fix unstable formatting for trailing subscript end-of-line comment (<a href="https://redirect.github.com/astral-sh/ruff/pull/10492">#10492</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid code comment detection in PEP 723 script tags (<a href="https://redirect.github.com/astral-sh/ruff/pull/10464">#10464</a>)</li> <li>Avoid incorrect tuple transformation in single-element case (<code>C409</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10491">#10491</a>)</li> <li>Bug fix: Prevent fully defined links <a href="https://github.com/astral-sh/ruff/blob/main/link"><code>name</code></a> from being reformatted (<a href="https://redirect.github.com/astral-sh/ruff/pull/10442">#10442</a>)</li> <li>Consider raw source code for <code>W605</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10480">#10480</a>)</li> <li>Docs: Link inline settings when not part of options section (<a href="https://redirect.github.com/astral-sh/ruff/pull/10499">#10499</a>)</li> <li>Don't treat annotations as redefinitions in <code>.pyi</code> files (<a href="https://redirect.github.com/astral-sh/ruff/pull/10512">#10512</a>)</li> <li>Fix <code>E231</code> bug: Inconsistent catch compared to pycodestyle, such as when dict nested in list (<a href="https://redirect.github.com/astral-sh/ruff/pull/10469">#10469</a>)</li> <li>Fix pylint upstream categories not showing in docs (<a href="https://redirect.github.com/astral-sh/ruff/pull/10441">#10441</a>)</li> <li>Add missing <code>Options</code> references to blank line docs (<a href="https://redirect.github.com/astral-sh/ruff/pull/10498">#10498</a>)</li> <li>'Revert "F821: Fix false negatives in .py files when <code>from __future__ import annotations</code> is active (<a href="https://redirect.github.com/astral-sh/ruff/issues/10362">#10362</a>)"' (<a href="https://redirect.github.com/astral-sh/ruff/pull/10513">#10513</a>)</li> <li>Apply NFKC normalization to unicode identifiers in the lexer (<a href="https://redirect.github.com/astral-sh/ruff/pull/10412">#10412</a>)</li> <li>Avoid failures due to non-deterministic binding ordering (<a href="https://redirect.github.com/astral-sh/ruff/pull/10478">#10478</a>)</li> <li>[<code>flake8-bugbear</code>] Allow tuples of exceptions (<code>B030</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10437">#10437</a>)</li> <li>[<code>flake8-quotes</code>] Avoid syntax errors due to invalid quotes (<code>Q000, Q002</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10199">#10199</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/5062572aca9413670aafd018cb65037bcb4d6acb"><code>5062572</code></a> Bump version to v0.3.4 (<a href="https://redirect.github.com/astral-sh/ruff/issues/10515">#10515</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/dc6f6398e737f4496dfaa870b1dc07ee1ec85617"><code>dc6f639</code></a> Rename <code>list-reassign-reversed</code> to <code>list-reverse-copy</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/10514">#10514</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/01fe2686124fb4b0a94184e17e7b246fa7e5b689"><code>01fe268</code></a> [<code>refurb</code>] Implement <code>list_assign_reversed</code> lint (FURB187) (<a href="https://redirect.github.com/astral-sh/ruff/issues/10212">#10212</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/c62184d05781327ddde1c0b142790d351cf666e6"><code>c62184d</code></a> 'Revert "F821: Fix false negatives in .py files when `from <strong>future</strong> import ...</li> <li><a href="https://github.com/astral-sh/ruff/commit/9b3c73253809f10f6f6522a487eb393fc6477d9c"><code>9b3c732</code></a> Docs: Link inline settings when not part of options section (<a href="https://redirect.github.com/astral-sh/ruff/issues/10499">#10499</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/caa14508959781b9220f5c9f83c4e0a4c586ce0c"><code>caa1450</code></a> Don't treat annotations as redefinitions in <code>.pyi</code> files (<a href="https://redirect.github.com/astral-sh/ruff/issues/10512">#10512</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/60fd98eb2fe425eca4b89268dd608f4e1cc21b74"><code>60fd98e</code></a> Update Rust to v1.77 (<a href="https://redirect.github.com/astral-sh/ruff/issues/10510">#10510</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/ac150b9314c0359c499aff103a99007807f9f854"><code>ac150b9</code></a> Spruce up docs for flake8-pyi rules (part 2) (<a href="https://redirect.github.com/astral-sh/ruff/issues/10494">#10494</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/d9ac170eb45660b8ac3e61a81b168202b76f1582"><code>d9ac170</code></a> Fix <code>E231</code> bug: Inconsistent catch compared to pycodestyle, such as when dict...</li> <li><a href="https://github.com/astral-sh/ruff/commit/c5ea4209bba318001e6c22ca84c75097977de305"><code>c5ea420</code></a> chore: remove repetitive words (<a href="https://redirect.github.com/astral-sh/ruff/issues/10502">#10502</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/v0.3.3...v0.3.4">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.3.3&new-version=0.3.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0fc6bf3 - Browse repository at this point
Copy the full SHA 0fc6bf3View commit details
Commits on Mar 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f52d71c - Browse repository at this point
Copy the full SHA f52d71cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7c98cc - Browse repository at this point
Copy the full SHA d7c98ccView commit details
Commits on Mar 29, 2024
-
113 add markdown to descriptions (#118)
Closes #113 - Updated phase_validations to include markdown based on wagtail descriptions https://www.consumerfinance.gov/data-research/small-business-lending/filing-instructions-guide/2024-guide/#4 - Updated pytest to be much simpler as it now just needs to do a direct description comparison instead of reformatting due to csv formatting.
Configuration menu - View commit details
-
Copy full SHA for 72b06ee - Browse repository at this point
Copy the full SHA 72b06eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c057bc - Browse repository at this point
Copy the full SHA 1c057bcView commit details
Commits on Apr 1, 2024
-
Moved df_to_* functions to their own file, updated pytests and cli.py (…
Configuration menu - View commit details
-
Copy full SHA for 5cdca19 - Browse repository at this point
Copy the full SHA 5cdca19View commit details
Commits on Apr 2, 2024
-
122 add fig anchor metadata to validations (#124)
Closes #122 I created a script that read through the fig_source.html, which I saved from browser, and found each of the elements containing the validation ID for each SBLCheck. Then I grabbed the href and stored that in the fig_anchor in the phase_validations.py file. I created a pytest to use the same html to loop through both the phase validation fig_anchors and the hrefs to compare to ensure each validation ID had the correct fig anchor. I also updated the existing test_cli.py formats to include the new fig_anchor field. Might be a good idea to store this tool somewhere, it's all local currently. Just in case they change something, it makes it easy to loop through the py file and insert the fig_anchor instead of manually copy/pasting. Updated the schema to include the fig_anchor in the check, which automatically carries over into the validation results. Updated the df_to_json to include the fig_anchor in the json we send to clients. The other df_to's automatically get the fig_anchor. I don't think we need another story in the filing-api, the fig_anchor for each result will be in the JSON blob. I would LOVE to figure out how to automatically pull down the FIG html in an actual usable way for the pytests. However, because it's all javascripted, the actual hrefs don't come across as full links if you do a request.get, or curl, or wget. The only way I've found to have both the full href link and the Validation ID associated with it is saving the page off in a browser.
Configuration menu - View commit details
-
Copy full SHA for 75e5317 - Browse repository at this point
Copy the full SHA 75e5317View commit details -
Bump ruff from 0.3.4 to 0.3.5 (#129)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.3.4 to 0.3.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>v0.3.5</h2> <h2>Changes</h2> <h3>Preview features</h3> <ul> <li>[<code>pylint</code>] Implement <code>modified-iterating-set</code> (<code>E4703</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10473">#10473</a>)</li> <li>[<code>refurb</code>] Implement <code>for-loop-set-mutations</code> (<code>FURB142</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10583">#10583</a>)</li> <li>[<code>refurb</code>] Implement <code>unnecessary-from-float</code> (<code>FURB164</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10647">#10647</a>)</li> <li>[<code>refurb</code>] Implement <code>verbose-decimal-constructor</code> (<code>FURB157</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10533">#10533</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-comprehensions</code>] Handled special case for <code>C401</code> which also matches <code>C416</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10596">#10596</a>)</li> <li>[<code>flake8-pyi</code>] Mark <code>unaliased-collections-abc-set-import</code> fix as "safe" for more cases in stub files (<code>PYI025</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10547">#10547</a>)</li> <li>[<code>numpy</code>] Add <code>row_stack</code> to NumPy 2.0 migration rule (<a href="https://redirect.github.com/astral-sh/ruff/pull/10646">#10646</a>)</li> <li>[<code>pycodestyle</code>] Allow cell magics before an import (<code>E402</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10545">#10545</a>)</li> <li>[<code>pycodestyle</code>] Avoid blank line rules for the first logical line in cell (<a href="https://redirect.github.com/astral-sh/ruff/pull/10291">#10291</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Respected nested namespace packages (<a href="https://redirect.github.com/astral-sh/ruff/pull/10541">#10541</a>)</li> <li>[<code>flake8-boolean-trap</code>] Add setting for user defined allowed boolean trap (<a href="https://redirect.github.com/astral-sh/ruff/pull/10531">#10531</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Correctly handle references in <code>__all__</code> definitions when renaming symbols in autofixes (<a href="https://redirect.github.com/astral-sh/ruff/pull/10527">#10527</a>)</li> <li>Track ranges of names inside <code>__all__</code> definitions (<a href="https://redirect.github.com/astral-sh/ruff/pull/10525">#10525</a>)</li> <li>[<code>flake8-bugbear</code>] Avoid false positive for usage after <code>continue</code> (<code>B031</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10539">#10539</a>)</li> <li>[<code>flake8-copyright</code>] Accept commas in default copyright pattern (<a href="https://redirect.github.com/astral-sh/ruff/pull/9498">#9498</a>)</li> <li>[<code>flake8-datetimez</code>] Allow f-strings with <code>%z</code> for <code>DTZ007</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10651">#10651</a>)</li> <li>[<code>flake8-pytest-style</code>] Fix <code>PT014</code> autofix for last item in list (<a href="https://redirect.github.com/astral-sh/ruff/pull/10532">#10532</a>)</li> <li>[<code>flake8-quotes</code>] Ignore <code>Q000</code>, <code>Q001</code> when string is inside forward ref (<a href="https://redirect.github.com/astral-sh/ruff/pull/10585">#10585</a>)</li> <li>[<code>isort</code>] Always place non-relative imports after relative imports (<a href="https://redirect.github.com/astral-sh/ruff/pull/10669">#10669</a>)</li> <li>[<code>isort</code>] Respect Unicode characters in import sorting (<a href="https://redirect.github.com/astral-sh/ruff/pull/10529">#10529</a>)</li> <li>[<code>pyflakes</code>] Fix F821 false negatives when <code>from __future__ import annotations</code> is active (attempt 2) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10524">#10524</a>)</li> <li>[<code>pyflakes</code>] Make <code>unnecessary-lambda</code> an always-unsafe fix (<a href="https://redirect.github.com/astral-sh/ruff/pull/10668">#10668</a>)</li> <li>[<code>pylint</code>] Fixed false-positive on the rule <code>PLW1641</code> (<code>eq-without-hash</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10566">#10566</a>)</li> <li>[<code>ruff</code>] Fix panic in unused <code># noqa</code> removal with multi-byte space (<code>RUF100</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10682">#10682</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add PR title format to <code>CONTRIBUTING.md</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10665">#10665</a>)</li> <li>Fix list markup to include blank lines required (<a href="https://redirect.github.com/astral-sh/ruff/pull/10591">#10591</a>)</li> <li>Put <code>flake8-logging</code> next to the other flake8 plugins in registry (<a href="https://redirect.github.com/astral-sh/ruff/pull/10587">#10587</a>)</li> <li>[<code>flake8-bandit</code>] Update warning message for rule <code>S305</code> to address insecure block cipher mode use (<a href="https://redirect.github.com/astral-sh/ruff/pull/10602">#10602</a>)</li> <li>[<code>flake8-bugbear</code>] Document use of anonymous assignment in <code>useless-expression</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10551">#10551</a>)</li> <li>[<code>flake8-datetimez</code>] Clarify error messages and docs for <code>DTZ</code> rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/10621">#10621</a>)</li> <li>[<code>pycodestyle</code>] Use same before vs. after numbers for <code>space-around-operator</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10640">#10640</a>)</li> <li>[<code>ruff</code>] Change <code>quadratic-list-summation</code> docs to use <code>iadd</code> consistently (<a href="https://redirect.github.com/astral-sh/ruff/pull/10666">#10666</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.3.5</h2> <h3>Preview features</h3> <ul> <li>[<code>pylint</code>] Implement <code>modified-iterating-set</code> (<code>E4703</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10473">#10473</a>)</li> <li>[<code>refurb</code>] Implement <code>for-loop-set-mutations</code> (<code>FURB142</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10583">#10583</a>)</li> <li>[<code>refurb</code>] Implement <code>unnecessary-from-float</code> (<code>FURB164</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10647">#10647</a>)</li> <li>[<code>refurb</code>] Implement <code>verbose-decimal-constructor</code> (<code>FURB157</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10533">#10533</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-comprehensions</code>] Handled special case for <code>C401</code> which also matches <code>C416</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10596">#10596</a>)</li> <li>[<code>flake8-pyi</code>] Mark <code>unaliased-collections-abc-set-import</code> fix as "safe" for more cases in stub files (<code>PYI025</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10547">#10547</a>)</li> <li>[<code>numpy</code>] Add <code>row_stack</code> to NumPy 2.0 migration rule (<a href="https://redirect.github.com/astral-sh/ruff/pull/10646">#10646</a>)</li> <li>[<code>pycodestyle</code>] Allow cell magics before an import (<code>E402</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10545">#10545</a>)</li> <li>[<code>pycodestyle</code>] Avoid blank line rules for the first logical line in cell (<a href="https://redirect.github.com/astral-sh/ruff/pull/10291">#10291</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Respected nested namespace packages (<a href="https://redirect.github.com/astral-sh/ruff/pull/10541">#10541</a>)</li> <li>[<code>flake8-boolean-trap</code>] Add setting for user defined allowed boolean trap (<a href="https://redirect.github.com/astral-sh/ruff/pull/10531">#10531</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Correctly handle references in <code>__all__</code> definitions when renaming symbols in autofixes (<a href="https://redirect.github.com/astral-sh/ruff/pull/10527">#10527</a>)</li> <li>Track ranges of names inside <code>__all__</code> definitions (<a href="https://redirect.github.com/astral-sh/ruff/pull/10525">#10525</a>)</li> <li>[<code>flake8-bugbear</code>] Avoid false positive for usage after <code>continue</code> (<code>B031</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10539">#10539</a>)</li> <li>[<code>flake8-copyright</code>] Accept commas in default copyright pattern (<a href="https://redirect.github.com/astral-sh/ruff/pull/9498">#9498</a>)</li> <li>[<code>flake8-datetimez</code>] Allow f-strings with <code>%z</code> for <code>DTZ007</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10651">#10651</a>)</li> <li>[<code>flake8-pytest-style</code>] Fix <code>PT014</code> autofix for last item in list (<a href="https://redirect.github.com/astral-sh/ruff/pull/10532">#10532</a>)</li> <li>[<code>flake8-quotes</code>] Ignore <code>Q000</code>, <code>Q001</code> when string is inside forward ref (<a href="https://redirect.github.com/astral-sh/ruff/pull/10585">#10585</a>)</li> <li>[<code>isort</code>] Always place non-relative imports after relative imports (<a href="https://redirect.github.com/astral-sh/ruff/pull/10669">#10669</a>)</li> <li>[<code>isort</code>] Respect Unicode characters in import sorting (<a href="https://redirect.github.com/astral-sh/ruff/pull/10529">#10529</a>)</li> <li>[<code>pyflakes</code>] Fix F821 false negatives when <code>from __future__ import annotations</code> is active (attempt 2) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10524">#10524</a>)</li> <li>[<code>pyflakes</code>] Make <code>unnecessary-lambda</code> an always-unsafe fix (<a href="https://redirect.github.com/astral-sh/ruff/pull/10668">#10668</a>)</li> <li>[<code>pylint</code>] Fixed false-positive on the rule <code>PLW1641</code> (<code>eq-without-hash</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10566">#10566</a>)</li> <li>[<code>ruff</code>] Fix panic in unused <code># noqa</code> removal with multi-byte space (<code>RUF100</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10682">#10682</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add PR title format to <code>CONTRIBUTING.md</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10665">#10665</a>)</li> <li>Fix list markup to include blank lines required (<a href="https://redirect.github.com/astral-sh/ruff/pull/10591">#10591</a>)</li> <li>Put <code>flake8-logging</code> next to the other flake8 plugins in registry (<a href="https://redirect.github.com/astral-sh/ruff/pull/10587">#10587</a>)</li> <li>[<code>flake8-bandit</code>] Update warning message for rule <code>S305</code> to address insecure block cipher mode use (<a href="https://redirect.github.com/astral-sh/ruff/pull/10602">#10602</a>)</li> <li>[<code>flake8-bugbear</code>] Document use of anonymous assignment in <code>useless-expression</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10551">#10551</a>)</li> <li>[<code>flake8-datetimez</code>] Clarify error messages and docs for <code>DTZ</code> rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/10621">#10621</a>)</li> <li>[<code>pycodestyle</code>] Use same before vs. after numbers for <code>space-around-operator</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10640">#10640</a>)</li> <li>[<code>ruff</code>] Change <code>quadratic-list-summation</code> docs to use <code>iadd</code> consistently (<a href="https://redirect.github.com/astral-sh/ruff/pull/10666">#10666</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/200ebeebdc8ab8ee14f56922e21b218f41a5a7e4"><code>200ebee</code></a> Bump version to v0.3.5 (<a href="https://redirect.github.com/astral-sh/ruff/issues/10717">#10717</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/23e8279093d8f891fc8bb59ebea2532649801ed3"><code>23e8279</code></a> chore(deps): update npm development dependencies (<a href="https://redirect.github.com/astral-sh/ruff/issues/10716">#10716</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/221b3236a8770e2f9a0c502290b78a5ec58698cc"><code>221b323</code></a> chore(deps): update strum to 0.26.0 (<a href="https://redirect.github.com/astral-sh/ruff/issues/10715">#10715</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/a0e15448488badd81b0924653c180cd18029b2c2"><code>a0e1544</code></a> chore(deps): update rust crate pep440_rs to 0.5.0 (<a href="https://redirect.github.com/astral-sh/ruff/issues/10703">#10703</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/2740fab7ad8963892d15581e624764c7a7894999"><code>2740fab</code></a> Renovate: group all <code>strum</code> dependencies together (<a href="https://redirect.github.com/astral-sh/ruff/issues/10714">#10714</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/7042b9b16dcb91ffa6a49bab6e8d43066131af2a"><code>7042b9b</code></a> fix(deps): update rust crate similar to v2.5.0 (<a href="https://redirect.github.com/astral-sh/ruff/issues/10711">#10711</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/4047d456b6e1b5bfd67cf81b921350e2f2989a6c"><code>4047d45</code></a> chore(deps): update rust crate insta to v1.38.0 (<a href="https://redirect.github.com/astral-sh/ruff/issues/10701">#10701</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/20d69ea504b95e4cd7751dbb5a17aa446721945d"><code>20d69ea</code></a> chore(deps): update npm development dependencies (<a href="https://redirect.github.com/astral-sh/ruff/issues/10697">#10697</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/d021cac0c9755e7f34ee3941c9a98aa7befa9750"><code>d021cac</code></a> chore(deps): update rust crate tracing-tree to 0.3.0 (<a href="https://redirect.github.com/astral-sh/ruff/issues/10709">#10709</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/46369d48fe1089d48e0590fcf6fb028218ab84b0"><code>46369d4</code></a> chore(deps): update rust crate uuid to v1.8.0 (<a href="https://redirect.github.com/astral-sh/ruff/issues/10710">#10710</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/v0.3.4...v0.3.5">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.3.4&new-version=0.3.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7d1fbb6 - Browse repository at this point
Copy the full SHA 7d1fbb6View commit details
Commits on Apr 3, 2024
-
Bump typer from 0.11.1 to 0.12.0 (#125)
Bumps [typer](https://github.com/tiangolo/typer) from 0.11.1 to 0.12.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tiangolo/typer/releases">typer's releases</a>.</em></p> <blockquote> <h2>0.12.0</h2> <h3>Features</h3> <ul> <li>✨ Add <code>typer-slim</code> package without extras, make <code>typer</code> include <code>typer-slim[default]</code> and integrate Typer CLI (<code>typer</code> command) into Typer. PR <a href="https://redirect.github.com/tiangolo/typer/pull/780">#780</a> by <a href="https://github.com/tiangolo"><code>@tiangolo</code></a>.</li> </ul> <h3>Internal</h3> <ul> <li>🔧 Temporarily disable social plugin while a MkDocs issue is handled. PR <a href="https://redirect.github.com/tiangolo/typer/pull/779">#779</a> by <a href="https://github.com/tiangolo"><code>@tiangolo</code></a>.</li> <li>👷 Fix install MkDocs Insiders only when available. PR <a href="https://redirect.github.com/tiangolo/typer/pull/778">#778</a> by <a href="https://github.com/tiangolo"><code>@tiangolo</code></a>.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/tiangolo/typer/blob/master/docs/release-notes.md">typer's changelog</a>.</em></p> <blockquote> <h2>0.12.0</h2> <h3>Features</h3> <ul> <li>✨ Add <code>typer-slim</code> package without extras, make <code>typer</code> include <code>typer-slim[default]</code> and integrate Typer CLI (<code>typer</code> command) into Typer. PR <a href="https://redirect.github.com/tiangolo/typer/pull/780">#780</a> by <a href="https://github.com/tiangolo"><code>@tiangolo</code></a>.</li> </ul> <h3>Internal</h3> <ul> <li>🔧 Temporarily disable social plugin while a MkDocs issue is handled. PR <a href="https://redirect.github.com/tiangolo/typer/pull/779">#779</a> by <a href="https://github.com/tiangolo"><code>@tiangolo</code></a>.</li> <li>👷 Fix install MkDocs Insiders only when available. PR <a href="https://redirect.github.com/tiangolo/typer/pull/778">#778</a> by <a href="https://github.com/tiangolo"><code>@tiangolo</code></a>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tiangolo/typer/commit/ef9beaf521047d44b0588f9f6927aa128d6b3f72"><code>ef9beaf</code></a> 🔖 Release version 0.12.0</li> <li><a href="https://github.com/tiangolo/typer/commit/8b02247c937643504a0025a94abc2a0d3a8d0136"><code>8b02247</code></a> 📝 Update release notes</li> <li><a href="https://github.com/tiangolo/typer/commit/7d5d6bb9e6eed6ef53271e78727b467f362504c9"><code>7d5d6bb</code></a> ✨ Add <code>typer-slim</code> package without extras, make <code>typer</code> include `typer-slim[d...</li> <li><a href="https://github.com/tiangolo/typer/commit/62988dfa00b8e0778fda697768f8a9e5e5715eed"><code>62988df</code></a> 📝 Update release notes</li> <li><a href="https://github.com/tiangolo/typer/commit/2ab3c262dfa5b241c80cee97a1784fe65c21d079"><code>2ab3c26</code></a> 🔧 Temporarily disable social plugin while a MkDocs issue is handled (<a href="https://redirect.github.com/tiangolo/typer/issues/779">#779</a>)</li> <li><a href="https://github.com/tiangolo/typer/commit/db27196d0dcd6ff67fd9a4c1562869d3867d4116"><code>db27196</code></a> 📝 Update release notes</li> <li><a href="https://github.com/tiangolo/typer/commit/19efa77bc390a5510bc52d83e6330c00c51c01bb"><code>19efa77</code></a> 👷 Fix install MkDocs Insiders only when available (<a href="https://redirect.github.com/tiangolo/typer/issues/778">#778</a>)</li> <li>See full diff in <a href="https://github.com/tiangolo/typer/compare/0.11.1...0.12.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=typer&package-manager=pip&previous-version=0.11.1&new-version=0.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Adam <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 543b536 - Browse repository at this point
Copy the full SHA 543b536View commit details
Commits on Apr 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5c85179 - Browse repository at this point
Copy the full SHA 5c85179View commit details
Commits on Apr 8, 2024
-
Bump typer from 0.12.0 to 0.12.1 (#132)
Bumps [typer](https://github.com/tiangolo/typer) from 0.12.0 to 0.12.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tiangolo/typer/releases">typer's releases</a>.</em></p> <blockquote> <h2>0.12.1</h2> <p>Now you don't need to install <code>typer[all]</code>. When you install <code>typer</code> it comes with the default optional dependencies and the <code>typer</code> command.</p> <p>If you don't want the extra optional dependencies (<code>rich</code> and <code>shellingham</code>), you can install <code>typer-slim</code> instead.</p> <p>You can also install <code>typer-slim[standard]</code>, which includes the default optional dependencies, but not the <code>typer</code> command.</p> <p>Now the package <code>typer-cli</code> doesn't add anything on top of what <code>typer</code> has, it only depends on <code>typer</code>, and is there only for backwards compatibility, so that projects that depend on <code>typer-cli</code> can get the latest features of the <code>typer</code> command while they upgrade their dependencies to require <code>typer</code> directly.</p> <h3>Features</h3> <ul> <li>✨ Add support for <code>typer ./someprogram.py utils docs --title</code>. PR <a href="https://redirect.github.com/tiangolo/typer/pull/782">#782</a> by <a href="https://github.com/tiangolo"><code>@tiangolo</code></a>.</li> </ul> <h3>Fixes</h3> <ul> <li>🐛 Fix broken installation when upgrading from <code>typer <0.12.0</code> to <code>typer >=0.12.0</code>, make <code>typer</code> independent of <code>typer-slim</code>, include <code>typer</code> command in <code>typer</code> package. PR <a href="https://redirect.github.com/tiangolo/typer/pull/791">#791</a> by <a href="https://github.com/tiangolo"><code>@tiangolo</code></a>.</li> </ul> <p>This fixes a problem that would break the <code>typer</code> installation directory when upgrading from <code>typer <0.12.0</code> to <code>typer >=0.12.0</code>, see issue <a href="https://redirect.github.com/tiangolo/typer/issues/790">#790</a>.</p> <p>By installing the latest version (<code>0.12.1</code>) it fixes it, for any previous version, even if the installation directory was already broken by the previous upgrade.</p> <h3>Internal</h3> <ul> <li>👷 Add cron to run test once a week on monday. PR <a href="https://redirect.github.com/tiangolo/typer/pull/783">#783</a> by <a href="https://github.com/estebanx64"><code>@estebanx64</code></a>.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/tiangolo/typer/blob/master/docs/release-notes.md">typer's changelog</a>.</em></p> <blockquote> <h2>0.12.1</h2> <p>Now you don't need to install <code>typer[all]</code>. When you install <code>typer</code> it comes with the default optional dependencies and the <code>typer</code> command.</p> <p>If you don't want the extra optional dependencies (<code>rich</code> and <code>shellingham</code>), you can install <code>typer-slim</code> instead.</p> <p>You can also install <code>typer-slim[standard]</code>, which includes the default optional dependencies, but not the <code>typer</code> command.</p> <p>Now the package <code>typer-cli</code> doesn't add anything on top of what <code>typer</code> has, it only depends on <code>typer</code>, and is there only for backwards compatibility, so that projects that depend on <code>typer-cli</code> can get the latest features of the <code>typer</code> command while they upgrade their dependencies to require <code>typer</code> directly.</p> <h3>Features</h3> <ul> <li>✨ Add support for <code>typer ./someprogram.py utils docs --title</code>. PR <a href="https://redirect.github.com/tiangolo/typer/pull/782">#782</a> by <a href="https://github.com/tiangolo"><code>@tiangolo</code></a>.</li> </ul> <h3>Fixes</h3> <ul> <li>🐛 Fix broken installation when upgrading from <code>typer <0.12.0</code> to <code>typer >=0.12.0</code>, make <code>typer</code> independent of <code>typer-slim</code>, include <code>typer</code> command in <code>typer</code> package. PR <a href="https://redirect.github.com/tiangolo/typer/pull/791">#791</a> by <a href="https://github.com/tiangolo"><code>@tiangolo</code></a>.</li> </ul> <p>This fixes a problem that would break the <code>typer</code> installation directory when upgrading from <code>typer <0.12.0</code> to <code>typer >=0.12.0</code>, see issue <a href="https://redirect.github.com/tiangolo/typer/issues/790">#790</a>.</p> <p>By installing the latest version (<code>0.12.1</code>) it fixes it, for any previous version, even if the installation directory was already broken by the previous upgrade.</p> <h3>Internal</h3> <ul> <li>👷 Add cron to run test once a week on monday. PR <a href="https://redirect.github.com/tiangolo/typer/pull/783">#783</a> by <a href="https://github.com/estebanx64"><code>@estebanx64</code></a>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tiangolo/typer/commit/f94b484450393f6a5cd064000ccc5b05e3bab10d"><code>f94b484</code></a> 🔖 Release version 0.12.1</li> <li><a href="https://github.com/tiangolo/typer/commit/3d1c32bf93214b0ac9c6b8d04a3daae2bbf2f74c"><code>3d1c32b</code></a> 📝 Update release notes</li> <li><a href="https://github.com/tiangolo/typer/commit/87384b3f68c844387702f6864093d85ac2e1a81a"><code>87384b3</code></a> 📝 Update release notes</li> <li><a href="https://github.com/tiangolo/typer/commit/05ffb24386cfa6cd23fa5f18b9eb233cd363e309"><code>05ffb24</code></a> 🐛 Fix broken installation when upgrading from <code>typer \<0.12.0</code> to `typer >=0.1...</li> <li><a href="https://github.com/tiangolo/typer/commit/8bac8213aab544442b4f59ecc5eac45f4c208c63"><code>8bac821</code></a> 📝 Update release notes</li> <li><a href="https://github.com/tiangolo/typer/commit/2a19c0c1d52669e03282e63eb35b09a9cddc73d4"><code>2a19c0c</code></a> 👷 Add cron to run test once a week on monday (<a href="https://redirect.github.com/tiangolo/typer/issues/783">#783</a>)</li> <li><a href="https://github.com/tiangolo/typer/commit/968d81df54997fa0219ca2de2aeacbab54daa003"><code>968d81d</code></a> 📝 Update release notes</li> <li><a href="https://github.com/tiangolo/typer/commit/bdaa5c69467249daf2a2ee324aab942e54bbc715"><code>bdaa5c6</code></a> ✨ Add support for <code>typer ./someprogram.py utils docs --title</code> (<a href="https://redirect.github.com/tiangolo/typer/issues/782">#782</a>)</li> <li>See full diff in <a href="https://github.com/tiangolo/typer/compare/0.12.0...0.12.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=typer&package-manager=pip&previous-version=0.12.0&new-version=0.12.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6a1ffad - Browse repository at this point
Copy the full SHA 6a1ffadView commit details -
added column not found handling (#133)
closes [#134 ](#134) Co-authored-by: Nargis Sultani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4e37d0f - Browse repository at this point
Copy the full SHA 4e37d0fView commit details
Commits on Apr 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e67df55 - Browse repository at this point
Copy the full SHA e67df55View commit details
Commits on Apr 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c00eadd - Browse repository at this point
Copy the full SHA c00eaddView commit details -
Updated df_to_download to create an empty csv with headers (#136)
Closes #135 I did this so the filing-api will always have a report to upload. There will be no confusion if someone looks in the S3, or tries to download a report. The report will always be there, it's just a successfully validated submission that has no errors or warning will be empty (essentially like an empty json being stored in the submission object). If we don't like this approach, I'll need to update the /report endpoint story to only call df_to_download if there are errors/warnings, and then on that /report endpoint GET, check that a report exists in the S3 first before trying to read it. Right now the assumption is a report will always be there, even if empty.
Configuration menu - View commit details
-
Copy full SHA for 762526a - Browse repository at this point
Copy the full SHA 762526aView commit details
Commits on Apr 11, 2024
-
Added validation_phase to results if there are findings (#143)
Closes #142 Had to pull in the index story #137 because adding the phase wasn't testing correctly. So if this is approved before PR #138 then we can ignore that one. --------- Co-authored-by: Hans Keeler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 16514da - Browse repository at this point
Copy the full SHA 16514daView commit details
Commits on Apr 12, 2024
-
Bump typer from 0.12.1 to 0.12.3 (#144)
Bumps [typer](https://github.com/tiangolo/typer) from 0.12.1 to 0.12.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tiangolo/typer/releases">typer's releases</a>.</em></p> <blockquote> <h2>0.12.3</h2> <h3>Fixes</h3> <ul> <li>🐛 Fix Rich formatting with no commands. PR <a href="https://redirect.github.com/tiangolo/typer/pull/796">#796</a> by <a href="https://github.com/svlandeg"><code>@svlandeg</code></a>.</li> </ul> <h2>0.12.2</h2> <h3>Features</h3> <ul> <li>✨ Improve column help display, ensure commands column width is the same on all panels. PR <a href="https://redirect.github.com/tiangolo/typer/pull/567">#567</a> by <a href="https://github.com/ssbarnea"><code>@ssbarnea</code></a>.</li> </ul> <h3>Fixes</h3> <ul> <li>🐛 Add support for an argument of type <code>Optional[Tuple]</code> and default value <code>None</code>. PR <a href="https://redirect.github.com/tiangolo/typer/pull/757">#757</a> by <a href="https://github.com/Asthestarsfalll"><code>@Asthestarsfalll</code></a>.</li> </ul> <h3>Docs</h3> <ul> <li>🔧 Fix typo in Github template. PR <a href="https://redirect.github.com/tiangolo/typer/pull/793">#793</a> by <a href="https://github.com/svlandeg"><code>@svlandeg</code></a>.</li> <li>📝 Fix typos in documentation. PR <a href="https://redirect.github.com/tiangolo/typer/pull/761">#761</a> by <a href="https://github.com/svlandeg"><code>@svlandeg</code></a>.</li> <li>📝 Update console output with Click 8 messages. PR <a href="https://redirect.github.com/tiangolo/typer/pull/789">#789</a> by <a href="https://github.com/svlandeg"><code>@svlandeg</code></a>.</li> <li>📝 Remove references to a .rst README generated by poetry new. PR <a href="https://redirect.github.com/tiangolo/typer/pull/632">#632</a> by <a href="https://github.com/jonasmmiguel"><code>@jonasmmiguel</code></a>.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/tiangolo/typer/blob/master/docs/release-notes.md">typer's changelog</a>.</em></p> <blockquote> <h2>0.12.3</h2> <h3>Fixes</h3> <ul> <li>🐛 Fix Rich formatting with no commands. PR <a href="https://redirect.github.com/tiangolo/typer/pull/796">#796</a> by <a href="https://github.com/svlandeg"><code>@svlandeg</code></a>.</li> </ul> <h2>0.12.2</h2> <h3>Features</h3> <ul> <li>✨ Improve column help display, ensure commands column width is the same on all panels. PR <a href="https://redirect.github.com/tiangolo/typer/pull/567">#567</a> by <a href="https://github.com/ssbarnea"><code>@ssbarnea</code></a>.</li> </ul> <h3>Fixes</h3> <ul> <li>🐛 Add support for an argument of type <code>Optional[Tuple]</code> and default value <code>None</code>. PR <a href="https://redirect.github.com/tiangolo/typer/pull/757">#757</a> by <a href="https://github.com/Asthestarsfalll"><code>@Asthestarsfalll</code></a>.</li> </ul> <h3>Docs</h3> <ul> <li>🔧 Fix typo in Github template. PR <a href="https://redirect.github.com/tiangolo/typer/pull/793">#793</a> by <a href="https://github.com/svlandeg"><code>@svlandeg</code></a>.</li> <li>📝 Fix typos in documentation. PR <a href="https://redirect.github.com/tiangolo/typer/pull/761">#761</a> by <a href="https://github.com/svlandeg"><code>@svlandeg</code></a>.</li> <li>📝 Update console output with Click 8 messages. PR <a href="https://redirect.github.com/tiangolo/typer/pull/789">#789</a> by <a href="https://github.com/svlandeg"><code>@svlandeg</code></a>.</li> <li>📝 Remove references to a .rst README generated by poetry new. PR <a href="https://redirect.github.com/tiangolo/typer/pull/632">#632</a> by <a href="https://github.com/jonasmmiguel"><code>@jonasmmiguel</code></a>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tiangolo/typer/commit/525c7779ba8914b3950b26ffa21decdfd3eec6ec"><code>525c777</code></a> 🔖 Release version 0.12.3</li> <li><a href="https://github.com/tiangolo/typer/commit/718a899b1895cb4abf1da8518de8f3bf6fdaac56"><code>718a899</code></a> 📝 Update release notes</li> <li><a href="https://github.com/tiangolo/typer/commit/3bc7d2560f4c8f86e058c9ea1d1e682d14c5107c"><code>3bc7d25</code></a> 🐛 Fix Rich formatting with no commands (<a href="https://redirect.github.com/tiangolo/typer/issues/796">#796</a>)</li> <li><a href="https://github.com/tiangolo/typer/commit/c9bc93c2592e36e449354dea9b8d64b26cf6bdc1"><code>c9bc93c</code></a> 🔖 Release version 0.12.2</li> <li><a href="https://github.com/tiangolo/typer/commit/c99a9501eea30967e82e6d77bf7ac0466b17993e"><code>c99a950</code></a> 📝 Update release notes</li> <li><a href="https://github.com/tiangolo/typer/commit/cfae1d2ba37a84789a1d8f112dde74cbf5a00d1e"><code>cfae1d2</code></a> ✨ Improve column help display, ensure commands column width is the same on al...</li> <li><a href="https://github.com/tiangolo/typer/commit/475359f31a010f36c17408570048f0c9d46eb619"><code>475359f</code></a> 📝 Update release notes</li> <li><a href="https://github.com/tiangolo/typer/commit/a0209aa969f08b39438e04c6280dbe723782636a"><code>a0209aa</code></a> 🐛 Add support for an argument of type <code>Optional[Tuple]</code> and default value `No...</li> <li><a href="https://github.com/tiangolo/typer/commit/5cee0af07312d7077614c702ba60444eb2ea4e7c"><code>5cee0af</code></a> 📝 Update release notes</li> <li><a href="https://github.com/tiangolo/typer/commit/cb7811380f03881d7690c987613c37b6890d1a69"><code>cb78113</code></a> 📝 Update release notes</li> <li>Additional commits viewable in <a href="https://github.com/tiangolo/typer/compare/0.12.1...0.12.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=typer&package-manager=pip&previous-version=0.12.1&new-version=0.12.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f4fadf4 - Browse repository at this point
Copy the full SHA f4fadf4View commit details -
Bump pandas from 2.2.1 to 2.2.2 (#145)
Bumps [pandas](https://github.com/pandas-dev/pandas) from 2.2.1 to 2.2.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pandas-dev/pandas/releases">pandas's releases</a>.</em></p> <blockquote> <h2>Pandas 2.2.2</h2> <p>We are pleased to announce the release of pandas 2.2.2. This release includes some new features, bug fixes, and performance improvements. We recommend that all users upgrade to this version.</p> <p>See the <a href="https://pandas.pydata.org/pandas-docs/version/2.2.2/whatsnew/v2.2.2.html">full whatsnew</a> for a list of all the changes. Pandas 2.2.2 supports Python 3.9 and higher.</p> <p>The release will be available on the defaults and conda-forge channels:</p> <pre><code>conda install pandas </code></pre> <p>Or via PyPI:</p> <pre><code>python3 -m pip install --upgrade pandas </code></pre> <p>Please report any issues with the release on the <a href="https://github.com/pandas-dev/pandas/issues">pandas issue tracker</a>.</p> <p>Thanks to all the contributors who made this release possible.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pandas-dev/pandas/commit/d9cdd2ee5a58015ef6f4d15c7226110c9aab8140"><code>d9cdd2e</code></a> RLS: 2.2.2</li> <li><a href="https://github.com/pandas-dev/pandas/commit/98aeac9b1b559178ef4f6a0a112a09b1741d11d1"><code>98aeac9</code></a> Backport PR <a href="https://redirect.github.com/pandas-dev/pandas/issues/58209">#58209</a>: CI: Pin blosc to fix pytables (<a href="https://redirect.github.com/pandas-dev/pandas/issues/58211">#58211</a>)</li> <li><a href="https://github.com/pandas-dev/pandas/commit/5466f15462784eaa26e7ac43fc382f3802ab3ed1"><code>5466f15</code></a> Backport PR <a href="https://redirect.github.com/pandas-dev/pandas/issues/58202">#58202</a>: DOC/TST: Document numpy 2.0 support and add tests… (<a href="https://redirect.github.com/pandas-dev/pandas/issues/58208">#58208</a>)</li> <li><a href="https://github.com/pandas-dev/pandas/commit/45b0b32af03e65f8d9547c127f8694fb7c3e994f"><code>45b0b32</code></a> Backport PR <a href="https://redirect.github.com/pandas-dev/pandas/issues/58203">#58203</a> on branch 2.2.x (DOC: Add release date/contributors for 2....</li> <li><a href="https://github.com/pandas-dev/pandas/commit/c7ec5663b3a5f041d7e8c93fa3d75a1314477e27"><code>c7ec566</code></a> Backport PR <a href="https://redirect.github.com/pandas-dev/pandas/issues/58087">#58087</a> on branch 2.2.x (BLD: Build wheels using numpy 2.0rc1) (<a href="https://redirect.github.com/pandas-dev/pandas/issues/5">#5</a>...</li> <li><a href="https://github.com/pandas-dev/pandas/commit/691fc88fbd7b570017bbc05fa77754b24c1fa997"><code>691fc88</code></a> Backport PR <a href="https://redirect.github.com/pandas-dev/pandas/issues/58181">#58181</a> on branch 2.2.x (CI: correct error msg in test_view_index)...</li> <li><a href="https://github.com/pandas-dev/pandas/commit/a947587c8ad419e9cf8f6cce1fd5ad80c32d759f"><code>a947587</code></a> Backport PR <a href="https://redirect.github.com/pandas-dev/pandas/issues/58138">#58138</a> on branch 2.2.x (BLD: Fix nightlies not building) (<a href="https://redirect.github.com/pandas-dev/pandas/issues/58140">#58140</a>)</li> <li><a href="https://github.com/pandas-dev/pandas/commit/b56842d93dc76dc2a83b7ab640af6a419697decb"><code>b56842d</code></a> Backport PR <a href="https://redirect.github.com/pandas-dev/pandas/issues/58100">#58100</a> on branch 2.2.x (MNT: fix compatibility with beautifulsoup...</li> <li><a href="https://github.com/pandas-dev/pandas/commit/0f83d50c477f8aafb61a3db1d310d0b5fd261adc"><code>0f83d50</code></a> Revert "BLD: Pin numpy on 2.2.x" (<a href="https://redirect.github.com/pandas-dev/pandas/issues/58093">#58093</a>)</li> <li><a href="https://github.com/pandas-dev/pandas/commit/e9b81ee3ecca2720f59e21091528e1e1e7eafe9a"><code>e9b81ee</code></a> Backport PR <a href="https://redirect.github.com/pandas-dev/pandas/issues/58126">#58126</a>: BLD: Build wheels with numpy 2.0rc1 (<a href="https://redirect.github.com/pandas-dev/pandas/issues/58127">#58127</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pandas-dev/pandas/compare/v2.2.1...v2.2.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pandas&package-manager=pip&previous-version=2.2.1&new-version=2.2.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b0b05c8 - Browse repository at this point
Copy the full SHA b0b05c8View commit details -
Bump idna from 3.6 to 3.7 (#148)
Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/kjd/idna/releases">idna's releases</a>.</em></p> <blockquote> <h2>v3.7</h2> <h2>What's Changed</h2> <ul> <li>Fix issue where specially crafted inputs to encode() could take exceptionally long amount of time to process. [CVE-2024-3651]</li> </ul> <p>Thanks to Guido Vranken for reporting the issue.</p> <p><strong>Full Changelog</strong>: <a href="https://github.com/kjd/idna/compare/v3.6...v3.7">https://github.com/kjd/idna/compare/v3.6...v3.7</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/kjd/idna/blob/master/HISTORY.rst">idna's changelog</a>.</em></p> <blockquote> <p>3.7 (2024-04-11) ++++++++++++++++</p> <ul> <li>Fix issue where specially crafted inputs to encode() could take exceptionally long amount of time to process. [CVE-2024-3651]</li> </ul> <p>Thanks to Guido Vranken for reporting the issue.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/kjd/idna/commit/1d365e17e10d72d0b7876316fc7b9ca0eebdd38d"><code>1d365e1</code></a> Release v3.7</li> <li><a href="https://github.com/kjd/idna/commit/c1b3154939907fab67c5754346afaebe165ce8e6"><code>c1b3154</code></a> Merge pull request <a href="https://redirect.github.com/kjd/idna/issues/172">#172</a> from kjd/optimize-contextj</li> <li><a href="https://github.com/kjd/idna/commit/0394ec76ff022813e770ba1fd89658790ea35623"><code>0394ec7</code></a> Merge branch 'master' into optimize-contextj</li> <li><a href="https://github.com/kjd/idna/commit/cd58a23173d2b0a40b95ee680baf3e59e8d33966"><code>cd58a23</code></a> Merge pull request <a href="https://redirect.github.com/kjd/idna/issues/152">#152</a> from elliotwutingfeng/dev</li> <li><a href="https://github.com/kjd/idna/commit/5beb28b9dd77912c0dd656d8b0fdba3eb80222e7"><code>5beb28b</code></a> More efficient resolution of joiner contexts</li> <li><a href="https://github.com/kjd/idna/commit/1b121483ed04d9576a1291758f537e1318cddc8b"><code>1b12148</code></a> Update ossf/scorecard-action to v2.3.1</li> <li><a href="https://github.com/kjd/idna/commit/d516b874c3388047934938a500c7488d52c4e067"><code>d516b87</code></a> Update Github actions/checkout to v4</li> <li><a href="https://github.com/kjd/idna/commit/c095c75943413c75ebf8ac74179757031b7f80b7"><code>c095c75</code></a> Merge branch 'master' into dev</li> <li><a href="https://github.com/kjd/idna/commit/60a0a4cb61ec6834d74306bd8a1fa46daac94c98"><code>60a0a4c</code></a> Fix typo in GitHub Actions workflow key</li> <li><a href="https://github.com/kjd/idna/commit/5918a0ef8034379c2e409ae93ee11d24295bb201"><code>5918a0e</code></a> Merge branch 'master' into dev</li> <li>Additional commits viewable in <a href="https://github.com/kjd/idna/compare/v3.6...v3.7">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=idna&package-manager=pip&previous-version=3.6&new-version=3.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/cfpb/regtech-data-validator/network/alerts). </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: jcadam14 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 630c9f4 - Browse repository at this point
Copy the full SHA 630c9f4View commit details -
Bump ruff from 0.3.5 to 0.3.7 (#149)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.3.5 to 0.3.7. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>v0.3.7</h2> <h2>Changes</h2> <h3>Preview features</h3> <ul> <li>[<code>flake8-bugbear</code>] Implement <code>loop-iterator-mutation</code> (<code>B909</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/9578">#9578</a>)</li> <li>[<code>pylint</code>] Implement rule to prefer augmented assignment (<code>PLR6104</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/9932">#9932</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid TOCTOU errors in cache initialization (<a href="https://redirect.github.com/astral-sh/ruff/pull/10884">#10884</a>)</li> <li>[<code>pylint</code>] Recode <code>nan-comparison</code> rule to <code>W0177</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10894">#10894</a>)</li> <li>[<code>pylint</code>] Reverse min-max logic in <code>if-stmt-min-max</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10890">#10890</a>)</li> </ul> <h2>Contributors</h2> <ul> <li><a href="https://github.com/carljm"><code>@carljm</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li> <li><a href="https://github.com/lshi18"><code>@lshi18</code></a></li> <li><a href="https://github.com/mimre25"><code>@mimre25</code></a></li> </ul> <h2>v0.3.6</h2> <h2>Changes</h2> <h3>Preview features</h3> <ul> <li>[<code>pylint</code>] Implement <code>bad-staticmethod-argument</code> (<code>PLW0211</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10781">#10781</a>)</li> <li>[<code>pylint</code>] Implement <code>if-stmt-min-max</code> (<code>PLR1730</code>, <code>PLR1731</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10002">#10002</a>)</li> <li>[<code>pyupgrade</code>] Replace <code>str,Enum</code> multiple inheritance with <code>StrEnum</code> <code>UP042</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10713">#10713</a>)</li> <li>[<code>refurb</code>] Implement <code>if-expr-instead-of-or-operator</code> (<code>FURB110</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10687">#10687</a>)</li> <li>[<code>refurb</code>] Implement <code>int-on-sliced-str</code> (<code>FURB166</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10650">#10650</a>)</li> <li>[<code>refurb</code>] Implement <code>write-whole-file</code> (<code>FURB103</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10802">#10802</a>)</li> <li>[<code>refurb</code>] Support <code>itemgetter</code> in <code>reimplemented-operator</code> (<code>FURB118</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10526">#10526</a>)</li> <li>[<code>flake8_comprehensions</code>] Add <code>sum</code>/<code>min</code>/<code>max</code> to unnecessary comprehension check (<code>C419</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10759">#10759</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>pydocstyle</code>] Require capitalizing docstrings where the first sentence is a single word (<code>D403</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10776">#10776</a>)</li> <li>[<code>pycodestyle</code>] Ignore annotated lambdas in class scopes (<code>E731</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10720">#10720</a>)</li> <li>[<code>flake8-pyi</code>] Various improvements to PYI034 (<a href="https://redirect.github.com/astral-sh/ruff/pull/10807">#10807</a>)</li> <li>[<code>flake8-slots</code>] Flag subclasses of call-based <code>typing.NamedTuple</code>s as well as subclasses of <code>collections.namedtuple()</code> (<code>SLOT002</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10808">#10808</a>)</li> <li>[<code>pyflakes</code>] Allow forward references in class bases in stub files (<code>F821</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10779">#10779</a>)</li> <li>[<code>pygrep-hooks</code>] Improve <code>blanket-noqa</code> error message (<code>PGH004</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10851">#10851</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Support <code>FORCE_COLOR</code> env var (<a href="https://redirect.github.com/astral-sh/ruff/pull/10839">#10839</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Support negated patterns in <code>[extend-]per-file-ignores</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10852">#10852</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.3.7</h2> <h3>Preview features</h3> <ul> <li>[<code>flake8-bugbear</code>] Implement <code>loop-iterator-mutation</code> (<code>B909</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/9578">#9578</a>)</li> <li>[<code>pylint</code>] Implement rule to prefer augmented assignment (<code>PLR6104</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/9932">#9932</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid TOCTOU errors in cache initialization (<a href="https://redirect.github.com/astral-sh/ruff/pull/10884">#10884</a>)</li> <li>[<code>pylint</code>] Recode <code>nan-comparison</code> rule to <code>W0177</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10894">#10894</a>)</li> <li>[<code>pylint</code>] Reverse min-max logic in <code>if-stmt-min-max</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10890">#10890</a>)</li> </ul> <h2>0.3.6</h2> <h3>Preview features</h3> <ul> <li>[<code>pylint</code>] Implement <code>bad-staticmethod-argument</code> (<code>PLW0211</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10781">#10781</a>)</li> <li>[<code>pylint</code>] Implement <code>if-stmt-min-max</code> (<code>PLR1730</code>, <code>PLR1731</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10002">#10002</a>)</li> <li>[<code>pyupgrade</code>] Replace <code>str,Enum</code> multiple inheritance with <code>StrEnum</code> <code>UP042</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10713">#10713</a>)</li> <li>[<code>refurb</code>] Implement <code>if-expr-instead-of-or-operator</code> (<code>FURB110</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10687">#10687</a>)</li> <li>[<code>refurb</code>] Implement <code>int-on-sliced-str</code> (<code>FURB166</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10650">#10650</a>)</li> <li>[<code>refurb</code>] Implement <code>write-whole-file</code> (<code>FURB103</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10802">#10802</a>)</li> <li>[<code>refurb</code>] Support <code>itemgetter</code> in <code>reimplemented-operator</code> (<code>FURB118</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10526">#10526</a>)</li> <li>[<code>flake8_comprehensions</code>] Add <code>sum</code>/<code>min</code>/<code>max</code> to unnecessary comprehension check (<code>C419</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10759">#10759</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>pydocstyle</code>] Require capitalizing docstrings where the first sentence is a single word (<code>D403</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10776">#10776</a>)</li> <li>[<code>pycodestyle</code>] Ignore annotated lambdas in class scopes (<code>E731</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10720">#10720</a>)</li> <li>[<code>flake8-pyi</code>] Various improvements to PYI034 (<a href="https://redirect.github.com/astral-sh/ruff/pull/10807">#10807</a>)</li> <li>[<code>flake8-slots</code>] Flag subclasses of call-based <code>typing.NamedTuple</code>s as well as subclasses of <code>collections.namedtuple()</code> (<code>SLOT002</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10808">#10808</a>)</li> <li>[<code>pyflakes</code>] Allow forward references in class bases in stub files (<code>F821</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10779">#10779</a>)</li> <li>[<code>pygrep-hooks</code>] Improve <code>blanket-noqa</code> error message (<code>PGH004</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10851">#10851</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Support <code>FORCE_COLOR</code> env var (<a href="https://redirect.github.com/astral-sh/ruff/pull/10839">#10839</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Support negated patterns in <code>[extend-]per-file-ignores</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10852">#10852</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>flake8-import-conventions</code>] Accept non-aliased (but correct) import in <code>unconventional-import-alias</code> (<code>ICN001</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10729">#10729</a>)</li> <li>[<code>flake8-quotes</code>] Add semantic model flag when inside f-string replacement field (<a href="https://redirect.github.com/astral-sh/ruff/pull/10766">#10766</a>)</li> <li>[<code>pep8-naming</code>] Recursively resolve <code>TypeDicts</code> for N815 violations (<a href="https://redirect.github.com/astral-sh/ruff/pull/10719">#10719</a>)</li> <li>[<code>flake8-quotes</code>] Respect <code>Q00*</code> ignores in <code>flake8-quotes</code> rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/10728">#10728</a>)</li> <li>[<code>flake8-simplify</code>] Show negated condition in <code>needless-bool</code> diagnostics (<code>SIM103</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10854">#10854</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/2e37cf6b3b4b873ad9ffe9728bccdf134862b768"><code>2e37cf6</code></a> Bump version to v0.3.7 (<a href="https://redirect.github.com/astral-sh/ruff/issues/10895">#10895</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/a9e43930086af3ae3c974e4ecec2ed1b328fa8e6"><code>a9e4393</code></a> [<code>pylint</code>] Implement rule to prefer augmented assignment (<code>PLR6104</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/9932">#9932</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/312f43475f14cc723c8935e4c909b17510382bb8"><code>312f434</code></a> [<code>pylint</code>] Recode <code>nan-comparison</code> rule to <code>W0177</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/10894">#10894</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/563daa8a86e5fe38dcdcfba5cc7a93a84bc2d550"><code>563daa8</code></a> Fix docs and add overlap test for negated per-file-ignores (<a href="https://redirect.github.com/astral-sh/ruff/issues/10863">#10863</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/7ae15c6e0a127ebc7c8fa899dbd821b546abeb41"><code>7ae15c6</code></a> Fix comment copy/paste typo in newtype_index (<a href="https://redirect.github.com/astral-sh/ruff/issues/10892">#10892</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/03899dcba37c7429084486600ed7f3b12bea20dc"><code>03899dc</code></a> [<code>flake8-bugbear</code>] Implement <code>loop-iterator-mutation</code> (<code>B909</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/9578">#9578</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/25f5a8b2019260eba3889d9800a60950a810a43e"><code>25f5a8b</code></a> Struct not tuple for compiled per-file ignores (<a href="https://redirect.github.com/astral-sh/ruff/issues/10864">#10864</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/e7d1d43f39ebb7258713edad9aae190c868d5ea2"><code>e7d1d43</code></a> [<code>pylint</code>] Reverse min-max logic in <code>if-stmt-min-max</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/10890">#10890</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/9b9098c3dca7475cbe10fd8d8f7152c392a25924"><code>9b9098c</code></a> Downgrade ESLint to v8 (<a href="https://redirect.github.com/astral-sh/ruff/issues/10888">#10888</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/0cc154c2a9ab08568a232f0c67b756c97976332d"><code>0cc154c</code></a> Avoid TOCTOU errors in cache initialization (<a href="https://redirect.github.com/astral-sh/ruff/issues/10884">#10884</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/v0.3.5...v0.3.7">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.3.5&new-version=0.3.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: jcadam14 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 75f133b - Browse repository at this point
Copy the full SHA 75f133bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94e7508 - Browse repository at this point
Copy the full SHA 94e7508View commit details -
Added comparison_helper that uses python eval to check value comapris…
…ons (#152) Closes #146 Turns out our is_less_than, is_greater_than and is_greater_than_or_equals all had the same issue. So I created a comparison_helper function that uses python eval() to convert the value to its type (so we're not beholden to int, float, etc in the functions) and then uses eval again with the passed in comparison sign to evaluate the value and the limit. Also beefed up the pytests for all three functions to use values that would actually cause the error. Simple strings like "1" and "2" won't cut it.
Configuration menu - View commit details
-
Copy full SHA for 6d7b6b9 - Browse repository at this point
Copy the full SHA 6d7b6b9View commit details -
151 change formatters and groupby fields to maintain order (#154)
Closes #151 Updated areas of code called out in the story. Attached a before and after csv to show what was happening. We don't have any pytests that are this verbose to find those errors/warnings that were causing the reordering. Can add those if desired. [logical_errors_example.csv](https://github.com/cfpb/regtech-data-validator/files/14961898/logical_errors_example.csv) [old_order_logical_errors_example.csv](https://github.com/cfpb/regtech-data-validator/files/14961899/old_order_logical_errors_example.csv) Notice the ordering of the fieds for E2014 and W2035. The old format had them reordered lexicographically, whereas the new order maintains what is in the FIG and in the groupby order of the Checks.
Configuration menu - View commit details
-
Copy full SHA for d776871 - Browse repository at this point
Copy the full SHA d776871View commit details
Commits on Apr 15, 2024
-
Bump black from 24.3.0 to 24.4.0 (#155)
Bumps [black](https://github.com/psf/black) from 24.3.0 to 24.4.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p> <blockquote> <h2>24.4.0</h2> <h3>Stable style</h3> <ul> <li>Fix unwanted crashes caused by AST equivalency check (<a href="https://redirect.github.com/psf/black/issues/4290">#4290</a>)</li> </ul> <h3>Preview style</h3> <ul> <li><code>if</code> guards in <code>case</code> blocks are now wrapped in parentheses when the line is too long. (<a href="https://redirect.github.com/psf/black/issues/4269">#4269</a>)</li> <li>Stop moving multiline strings to a new line unless inside brackets (<a href="https://redirect.github.com/psf/black/issues/4289">#4289</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>Add a new option <code>use_pyproject</code> to the GitHub Action <code>psf/black</code>. This will read the Black version from <code>pyproject.toml</code>. (<a href="https://redirect.github.com/psf/black/issues/4294">#4294</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/black/blob/main/CHANGES.md">black's changelog</a>.</em></p> <blockquote> <h2>24.4.0</h2> <h3>Stable style</h3> <ul> <li>Fix unwanted crashes caused by AST equivalency check (<a href="https://redirect.github.com/psf/black/issues/4290">#4290</a>)</li> </ul> <h3>Preview style</h3> <ul> <li><code>if</code> guards in <code>case</code> blocks are now wrapped in parentheses when the line is too long. (<a href="https://redirect.github.com/psf/black/issues/4269">#4269</a>)</li> <li>Stop moving multiline strings to a new line unless inside brackets (<a href="https://redirect.github.com/psf/black/issues/4289">#4289</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>Add a new option <code>use_pyproject</code> to the GitHub Action <code>psf/black</code>. This will read the Black version from <code>pyproject.toml</code>. (<a href="https://redirect.github.com/psf/black/issues/4294">#4294</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/black/commit/8fe627072f15ff2e3d380887b92f7868efaf6d05"><code>8fe6270</code></a> Prepare release 24.4.0 (<a href="https://redirect.github.com/psf/black/issues/4307">#4307</a>)</li> <li><a href="https://github.com/psf/black/commit/6b25e7cdabe2cd0dc2ec9d0009668af085b1e732"><code>6b25e7c</code></a> Bump peter-evans/find-comment from 3.0.0 to 3.1.0 (<a href="https://redirect.github.com/psf/black/issues/4304">#4304</a>)</li> <li><a href="https://github.com/psf/black/commit/07fe1ca88abee9a0c88efb6b4213ea04d3fe2eae"><code>07fe1ca</code></a> docs: remove repetitive word (<a href="https://redirect.github.com/psf/black/issues/4303">#4303</a>)</li> <li><a href="https://github.com/psf/black/commit/3383f531bc25955eebb2644ba5b389413bd10219"><code>3383f53</code></a> GitHub Action: Allow reading version from pyproject.toml (<a href="https://redirect.github.com/psf/black/issues/4294">#4294</a>)</li> <li><a href="https://github.com/psf/black/commit/c8f1a5542c257491e1e093b1404481ece7f7e02c"><code>c8f1a55</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/psf/black/issues/4297">#4297</a>)</li> <li><a href="https://github.com/psf/black/commit/836acad86371578527408a4c8f968cde1302e130"><code>836acad</code></a> Improve AST safety check (<a href="https://redirect.github.com/psf/black/issues/4290">#4290</a>)</li> <li><a href="https://github.com/psf/black/commit/13bd0925eb347926399a5bcb8b70853549f3da07"><code>13bd092</code></a> fix: Stop moving multiline strings to a new line unless inside brackets (<a href="https://redirect.github.com/psf/black/issues/4289">#4289</a>)</li> <li><a href="https://github.com/psf/black/commit/c9d2635b55d03cd125465cd6d7477e6c3cb8fba3"><code>c9d2635</code></a> Remove mocking from tests (<a href="https://redirect.github.com/psf/black/issues/4287">#4287</a>)</li> <li><a href="https://github.com/psf/black/commit/bf1195612c00b008ea67ea0472ae527956eb66fe"><code>bf11956</code></a> Fix two logging calls in the test helper (<a href="https://redirect.github.com/psf/black/issues/4286">#4286</a>)</li> <li><a href="https://github.com/psf/black/commit/97993f997fe01cf565924072e4915126cdb86ed2"><code>97993f9</code></a> Bump pypa/cibuildwheel from 2.16.5 to 2.17.0 (<a href="https://redirect.github.com/psf/black/issues/4283">#4283</a>)</li> <li>Additional commits viewable in <a href="https://github.com/psf/black/compare/24.3.0...24.4.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=black&package-manager=pip&previous-version=24.3.0&new-version=24.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7dddd38 - Browse repository at this point
Copy the full SHA 7dddd38View commit details
Commits on Apr 23, 2024
-
Updated df_to_download/json (#165)
Closes #164 Closes #150 Closes #157 Closes #161 Closes #158 See story for results of improvements I had to add in changes from PR #156 and #159 since they all touch the same code. So depending which ones are reviewed first and merged in, might be able to close the others or deal with merge conflicts.
Configuration menu - View commit details
-
Copy full SHA for 0faad8b - Browse repository at this point
Copy the full SHA 0faad8bView commit details
Commits on Apr 24, 2024
-
Bump ruff from 0.3.7 to 0.4.1 (#163)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.3.7 to 0.4.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>v0.4.1</h2> <h2>Changes</h2> <h3>Preview features</h3> <ul> <li>[<code>pylint</code>] Implement <code>invalid-hash-returned</code> (<code>PLE0309</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10961">#10961</a>)</li> <li>[<code>pylint</code>] Implement <code>invalid-index-returned</code> (<code>PLE0305</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10962">#10962</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>pylint</code>] Allow <code>NoReturn</code>-like functions for <code>__str__</code>, <code>__len__</code>, etc. (<code>PLE0307</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11017">#11017</a>)</li> <li>Parser: Use empty range when there's "gap" in token source (<a href="https://redirect.github.com/astral-sh/ruff/pull/11032">#11032</a>)</li> <li>[<code>ruff</code>] Ignore stub functions in <code>unused-async</code> (<code>RUF029</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11026">#11026</a>)</li> <li>Parser: Expect indented case block instead of match stmt (<a href="https://redirect.github.com/astral-sh/ruff/pull/11033">#11033</a>)</li> </ul> <h2>Contributors</h2> <ul> <li><a href="https://github.com/AlexWaygood"><code>@AlexWaygood</code></a></li> <li><a href="https://github.com/HenryAsa"><code>@HenryAsa</code></a></li> <li><a href="https://github.com/MithicSpirit"><code>@MithicSpirit</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li> <li><a href="https://github.com/dhruvmanila"><code>@dhruvmanila</code></a></li> <li><a href="https://github.com/tibor-reiss"><code>@tibor-reiss</code></a></li> </ul> <h2>v0.4.0</h2> <h2>Changes</h2> <h3>A new, hand-written parser</h3> <p>Ruff's new parser is <strong>>2x faster</strong>, which translates to a <strong>20-40% speedup</strong> for all linting and formatting invocations. There's a lot to say about this exciting change, so check out the <a href="https://astral.sh/blog/ruff-v0.4.0">blog post</a> for more details!</p> <p>See <a href="https://redirect.github.com/astral-sh/ruff/pull/10036">#10036</a> for implementation details.</p> <h3>A new language server in Rust</h3> <p>With this release, we also want to highlight our new language server. <code>ruff server</code> is a Rust-powered language server that comes built-in with Ruff. It can be used with any editor that supports the <a href="https://microsoft.github.io/language-server-protocol/">Language Server Protocol</a> (LSP). It uses a multi-threaded, lock-free architecture inspired by <code>rust-analyzer</code> and it will open the door for a lot of exciting features. It’s also faster than our previous <a href="https://github.com/astral-sh/ruff-lsp">Python-based language server</a> -- but you probably guessed that already.</p> <p><code>ruff server</code> is only in alpha, but it has a lot of features that you can try out today:</p> <ul> <li>Lints Python files automatically and shows quick-fixes when available</li> <li>Formats Python files, with support for range formatting</li> <li>Comes with commands for quickly performing actions: <code>ruff.applyAutofix</code>, <code>ruff.applyFormat</code>, and <code>ruff.applyOrganizeImports</code></li> <li>Supports <code>source.fixAll</code> and <code>source.organizeImports</code> source actions</li> <li>Automatically reloads your project configuration when you change it</li> </ul> <p>To setup <code>ruff server</code> with your editor, refer to the <a href="https://github.com/astral-sh/ruff/blob/main/crates/ruff_server/README.md">README.md</a>.</p> <h3>Preview features</h3> <ul> <li>[<code>pycodestyle</code>] Do not trigger <code>E3</code> rules on <code>def</code>s following a function/method with a dummy body (<a href="https://redirect.github.com/astral-sh/ruff/pull/10704">#10704</a>)</li> <li>[<code>pylint</code>] Implement <code>invalid-bytes-returned</code> (<code>E0308</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10959">#10959</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.4.1</h2> <h3>Preview features</h3> <ul> <li>[<code>pylint</code>] Implement <code>invalid-hash-returned</code> (<code>PLE0309</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10961">#10961</a>)</li> <li>[<code>pylint</code>] Implement <code>invalid-index-returned</code> (<code>PLE0305</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10962">#10962</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>pylint</code>] Allow <code>NoReturn</code>-like functions for <code>__str__</code>, <code>__len__</code>, etc. (<code>PLE0307</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11017">#11017</a>)</li> <li>Parser: Use empty range when there's "gap" in token source (<a href="https://redirect.github.com/astral-sh/ruff/pull/11032">#11032</a>)</li> <li>[<code>ruff</code>] Ignore stub functions in <code>unused-async</code> (<code>RUF029</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11026">#11026</a>)</li> <li>Parser: Expect indented case block instead of match stmt (<a href="https://redirect.github.com/astral-sh/ruff/pull/11033">#11033</a>)</li> </ul> <h2>0.4.0</h2> <h3>A new, hand-written parser</h3> <p>Ruff's new parser is <strong>>2x faster</strong>, which translates to a <strong>20-40% speedup</strong> for all linting and formatting invocations. There's a lot to say about this exciting change, so check out the <a href="https://astral.sh/blog/ruff-v0.4.0">blog post</a> for more details!</p> <p>See <a href="https://redirect.github.com/astral-sh/ruff/pull/10036">#10036</a> for implementation details.</p> <h3>A new language server in Rust</h3> <p>With this release, we also want to highlight our new language server. <code>ruff server</code> is a Rust-powered language server that comes built-in with Ruff. It can be used with any editor that supports the <a href="https://microsoft.github.io/language-server-protocol/">Language Server Protocol</a> (LSP). It uses a multi-threaded, lock-free architecture inspired by <code>rust-analyzer</code> and it will open the door for a lot of exciting features. It’s also faster than our previous <a href="https://github.com/astral-sh/ruff-lsp">Python-based language server</a> -- but you probably guessed that already.</p> <p><code>ruff server</code> is only in alpha, but it has a lot of features that you can try out today:</p> <ul> <li>Lints Python files automatically and shows quick-fixes when available</li> <li>Formats Python files, with support for range formatting</li> <li>Comes with commands for quickly performing actions: <code>ruff.applyAutofix</code>, <code>ruff.applyFormat</code>, and <code>ruff.applyOrganizeImports</code></li> <li>Supports <code>source.fixAll</code> and <code>source.organizeImports</code> source actions</li> <li>Automatically reloads your project configuration when you change it</li> </ul> <p>To setup <code>ruff server</code> with your editor, refer to the <a href="https://github.com/astral-sh/ruff/blob/main/crates/ruff_server/README.md">README.md</a>.</p> <h3>Preview features</h3> <ul> <li>[<code>pycodestyle</code>] Do not trigger <code>E3</code> rules on <code>def</code>s following a function/method with a dummy body (<a href="https://redirect.github.com/astral-sh/ruff/pull/10704">#10704</a>)</li> <li>[<code>pylint</code>] Implement <code>invalid-bytes-returned</code> (<code>E0308</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10959">#10959</a>)</li> <li>[<code>pylint</code>] Implement <code>invalid-length-returned</code> (<code>E0303</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10963">#10963</a>)</li> <li>[<code>pylint</code>] Implement <code>self-cls-assignment</code> (<code>W0642</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/9267">#9267</a>)</li> <li>[<code>pylint</code>] Omit stubs from <code>invalid-bool</code> and <code>invalid-str-return-type</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11008">#11008</a>)</li> <li>[<code>ruff</code>] New rule <code>unused-async</code> (<code>RUF029</code>) to detect unneeded <code>async</code> keywords on functions (<a href="https://redirect.github.com/astral-sh/ruff/pull/9966">#9966</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/0ff25a540c550d8d2f562844354f84eb292b9c4b"><code>0ff25a5</code></a> Bump version to 0.4.1 (<a href="https://redirect.github.com/astral-sh/ruff/issues/11035">#11035</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/34873ec009952f74b6248e10222690364f65c9ac"><code>34873ec</code></a> Add a script to fuzz the parser (courtesy of <code>pysource-codegen</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/11015">#11015</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/d3cd61f804bae7428c8bd3ac8d4a2b8bb3640e4c"><code>d3cd61f</code></a> Use empty range when there's "gap" in token source (<a href="https://redirect.github.com/astral-sh/ruff/issues/11032">#11032</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/9b80cc09ee4f91c378308844d80106d201539e46"><code>9b80cc0</code></a> Select fewer ruff rules when linting Python files in <code>scripts/</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/11034">#11034</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/9bb23b0a38bd0532dc70c018b99a1ad30774f31c"><code>9bb23b0</code></a> Expect indented case block instead of match stmt (<a href="https://redirect.github.com/astral-sh/ruff/issues/11033">#11033</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/06c248a126b403caa088f3fa6546f85b0ba2b1d5"><code>06c248a</code></a> [<code>ruff]</code> Ignore stub functions in <code>unused-async</code> (<code>RUF029</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/11026">#11026</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/27902b7130afed05c2d4c653592ff90db88e27dc"><code>27902b7</code></a> [<code>pylint</code>] Implement <code>invalid-index-returned</code> (<code>PLE0305</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/10962">#10962</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/97acf1d59bd9f1ec4d842549921452aafc0229cc"><code>97acf1d</code></a> ENH: Bump <code>ruff</code> dependency versions to support the latest release of `v0.4.0...</li> <li><a href="https://github.com/astral-sh/ruff/commit/adf63d90139b9412edc65986b5b4b7a7e667301c"><code>adf63d9</code></a> [<code>pylint</code>] Implement <code>invalid-hash-returned</code> (<code>PLE0309</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/10961">#10961</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/5d3c9f2637c4ec0c32cad22eae6c2fa39be74c6c"><code>5d3c9f2</code></a> <code>ruff server</code>: fix Neovim setup guide command (<a href="https://redirect.github.com/astral-sh/ruff/issues/11021">#11021</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/v0.3.7...v0.4.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.3.7&new-version=0.4.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: jcadam14 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d07cd98 - Browse repository at this point
Copy the full SHA d07cd98View commit details
Commits on Apr 25, 2024
-
Bump black from 24.4.0 to 24.4.1 (#169)
Bumps [black](https://github.com/psf/black) from 24.4.0 to 24.4.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p> <blockquote> <h2>24.4.1</h2> <h3>Highlights</h3> <ul> <li>Add support for the new Python 3.12 f-string syntax introduced by PEP 701 (<a href="https://redirect.github.com/psf/black/issues/3822">#3822</a>)</li> </ul> <h3>Stable style</h3> <ul> <li>Fix crash involving indented dummy functions containing newlines (<a href="https://redirect.github.com/psf/black/issues/4318">#4318</a>)</li> </ul> <h3>Parser</h3> <ul> <li>Add support for type parameter defaults, a new syntactic feature added to Python 3.13 by PEP 696 (<a href="https://redirect.github.com/psf/black/issues/4327">#4327</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>Github Action now works even when <code>git archive</code> is skipped (<a href="https://redirect.github.com/psf/black/issues/4313">#4313</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/black/blob/main/CHANGES.md">black's changelog</a>.</em></p> <blockquote> <h2>24.4.1</h2> <h3>Highlights</h3> <ul> <li>Add support for the new Python 3.12 f-string syntax introduced by PEP 701 (<a href="https://redirect.github.com/psf/black/issues/3822">#3822</a>)</li> </ul> <h3>Stable style</h3> <ul> <li>Fix crash involving indented dummy functions containing newlines (<a href="https://redirect.github.com/psf/black/issues/4318">#4318</a>)</li> </ul> <h3>Parser</h3> <ul> <li>Add support for type parameter defaults, a new syntactic feature added to Python 3.13 by PEP 696 (<a href="https://redirect.github.com/psf/black/issues/4327">#4327</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>Github Action now works even when <code>git archive</code> is skipped (<a href="https://redirect.github.com/psf/black/issues/4313">#4313</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/black/commit/e7fb048281a83733f0b162fc7fa85e48044ea9ec"><code>e7fb048</code></a> Prepare release 24.4.1 (<a href="https://redirect.github.com/psf/black/issues/4328">#4328</a>)</li> <li><a href="https://github.com/psf/black/commit/3f0f8f1956646fd9f6fc47e133364c1352a478d1"><code>3f0f8f1</code></a> Support PEP 696 (<a href="https://redirect.github.com/psf/black/issues/4327">#4327</a>)</li> <li><a href="https://github.com/psf/black/commit/2f88085da588d34286bc9a24e288de204f141243"><code>2f88085</code></a> Github Action: Directly install from repo if <code>export-subst</code> is skipped (<a href="https://redirect.github.com/psf/black/issues/4313">#4313</a>)</li> <li><a href="https://github.com/psf/black/commit/12ce3db077780ab01cc5ad1f92d5c85fcca3f54c"><code>12ce3db</code></a> Move changelog entry to right section (<a href="https://redirect.github.com/psf/black/issues/4326">#4326</a>)</li> <li><a href="https://github.com/psf/black/commit/1354be2525e4910b8a0d7c46242eae76963db5d2"><code>1354be2</code></a> Add support to style function definitions with newlines before function stubs...</li> <li><a href="https://github.com/psf/black/commit/f4b644b82f64d5aa2b8959277c9eb9ebcb16affe"><code>f4b644b</code></a> Prevent wrapping of multiline fstrings in parens (<a href="https://redirect.github.com/psf/black/issues/4325">#4325</a>)</li> <li><a href="https://github.com/psf/black/commit/551ede2825e4a92e9880b90ef517cce333a5cbfc"><code>551ede2</code></a> Add PEP 701 support (<a href="https://redirect.github.com/psf/black/issues/3822">#3822</a>)</li> <li><a href="https://github.com/psf/black/commit/944b99aa91f0a5afadf48b3a90cacdb5c8e9f858"><code>944b99a</code></a> Bump sphinx from 7.2.6 to 7.3.7 in /docs (<a href="https://redirect.github.com/psf/black/issues/4322">#4322</a>)</li> <li><a href="https://github.com/psf/black/commit/7134754ef45078b032039ad858bdaaef146233b2"><code>7134754</code></a> Remove node-specific logic from visit_default (<a href="https://redirect.github.com/psf/black/issues/4321">#4321</a>)</li> <li><a href="https://github.com/psf/black/commit/76693814204bb64fbac48b5c7096ddbd9c978518"><code>7669381</code></a> Pin to old flake8-bugbear (<a href="https://redirect.github.com/psf/black/issues/4319">#4319</a>)</li> <li>Additional commits viewable in <a href="https://github.com/psf/black/compare/24.4.0...24.4.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=black&package-manager=pip&previous-version=24.4.0&new-version=24.4.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d492d0b - Browse repository at this point
Copy the full SHA d492d0bView commit details
Commits on Apr 29, 2024
-
Bump black from 24.4.1 to 24.4.2 (#171)
Bumps [black](https://github.com/psf/black) from 24.4.1 to 24.4.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p> <blockquote> <h2>24.4.2</h2> <p>This is a bugfix release to fix two regressions in the new f-string parser introduced in 24.4.1.</p> <h3>Parser</h3> <ul> <li>Fix regression where certain complex f-strings failed to parse (<a href="https://redirect.github.com/psf/black/issues/4332">#4332</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix bad performance on certain complex string literals (<a href="https://redirect.github.com/psf/black/issues/4331">#4331</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/black/blob/main/CHANGES.md">black's changelog</a>.</em></p> <blockquote> <h2>24.4.2</h2> <p>This is a bugfix release to fix two regressions in the new f-string parser introduced in 24.4.1.</p> <h3>Parser</h3> <ul> <li>Fix regression where certain complex f-strings failed to parse (<a href="https://redirect.github.com/psf/black/issues/4332">#4332</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix bad performance on certain complex string literals (<a href="https://redirect.github.com/psf/black/issues/4331">#4331</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/black/commit/3702ba224ecffbcec30af640c149f231d90aebdb"><code>3702ba2</code></a> Prepare release 24.4.2 (<a href="https://redirect.github.com/psf/black/issues/4335">#4335</a>)</li> <li><a href="https://github.com/psf/black/commit/e4aaa8a9947d951eb1e69979c3c58e197adbe40f"><code>e4aaa8a</code></a> Fix incorrect f-string tokenization (<a href="https://redirect.github.com/psf/black/issues/4332">#4332</a>)</li> <li><a href="https://github.com/psf/black/commit/ba88fc372eaed34abb33ea02d6860b185388d928"><code>ba88fc3</code></a> Simplify string tokenization regexes (<a href="https://redirect.github.com/psf/black/issues/4331">#4331</a>)</li> <li><a href="https://github.com/psf/black/commit/5683242fd432d93c9c37540948a39afd06ea4f7d"><code>5683242</code></a> New release template</li> <li>See full diff in <a href="https://github.com/psf/black/compare/24.4.1...24.4.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=black&package-manager=pip&previous-version=24.4.1&new-version=24.4.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9bb474b - Browse repository at this point
Copy the full SHA 9bb474bView commit details -
Bump ruff from 0.4.1 to 0.4.2 (#172)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.1 to 0.4.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>v0.4.2</h2> <h2>Changes</h2> <h3>Rule changes</h3> <ul> <li>[<code>flake8-pyi</code>] Allow for overloaded <code>__exit__</code> and <code>__aexit__</code> definitions (<code>PYI036</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11057">#11057</a>)</li> <li>[<code>pyupgrade</code>] Catch usages of <code>"%s" % var</code> and provide an unsafe fix (<code>UP031</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11019">#11019</a>)</li> <li>[<code>refurb</code>] Implement new rule that suggests min/max over <code>sorted()</code> (<code>FURB192</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10868">#10868</a>)</li> </ul> <h3>Server</h3> <ul> <li>Fix an issue with missing diagnostics for Neovim and Helix (<a href="https://redirect.github.com/astral-sh/ruff/pull/11092">#11092</a>)</li> <li>Implement hover documentation for <code>noqa</code> codes (<a href="https://redirect.github.com/astral-sh/ruff/pull/11096">#11096</a>)</li> <li>Introduce common Ruff configuration options with new server settings (<a href="https://redirect.github.com/astral-sh/ruff/pull/11062">#11062</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Use <code>macos-12</code> for building release wheels to enable macOS 11 compatibility (<a href="https://redirect.github.com/astral-sh/ruff/pull/11146">#11146</a>)</li> <li>[<code>flake8-blind-expect</code>] Allow raise from in <code>BLE001</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11131">#11131</a>)</li> <li>[<code>flake8-pyi</code>] Allow simple assignments to <code>None</code> in enum class scopes (<code>PYI026</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11128">#11128</a>)</li> <li>[<code>flake8-simplify</code>] Avoid raising <code>SIM911</code> for non-<code>zip</code> attribute calls (<a href="https://redirect.github.com/astral-sh/ruff/pull/11126">#11126</a>)</li> <li>[<code>refurb</code>] Avoid <code>operator.itemgetter</code> suggestion for single-item tuple (<a href="https://redirect.github.com/astral-sh/ruff/pull/11095">#11095</a>)</li> <li>[<code>ruff</code>] Respect per-file-ignores for <code>RUF100</code> with no other diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/pull/11058">#11058</a>)</li> <li>[<code>ruff</code>] Fix async comprehension false positive (<code>RUF029</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11070">#11070</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>[<code>flake8-bugbear</code>] Document explicitly disabling strict zip (<code>B905</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11040">#11040</a>)</li> <li>[<code>flake8-type-checking</code>] Mention <code>lint.typing-modules</code> in <code>TCH001</code>, <code>TCH002</code>, and <code>TCH003</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11144">#11144</a>)</li> <li>[<code>isort</code>] Improve documentation around custom <code>isort</code> sections (<a href="https://redirect.github.com/astral-sh/ruff/pull/11050">#11050</a>)</li> <li>[<code>pylint</code>] Fix documentation oversight for <code>invalid-X-returns</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11094">#11094</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Use <code>matchit</code> to resolve per-file settings (<a href="https://redirect.github.com/astral-sh/ruff/pull/11111">#11111</a>)</li> </ul> <h2>Contributors</h2> <ul> <li><a href="https://github.com/AlexWaygood"><code>@AlexWaygood</code></a></li> <li><a href="https://github.com/JonathanPlasse"><code>@JonathanPlasse</code></a></li> <li><a href="https://github.com/KPCOFGS"><code>@KPCOFGS</code></a></li> <li><a href="https://github.com/KotlinIsland"><code>@KotlinIsland</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/augustelalande"><code>@augustelalande</code></a></li> <li><a href="https://github.com/autinerd"><code>@autinerd</code></a></li> <li><a href="https://github.com/bersbersbers"><code>@bersbersbers</code></a></li> <li><a href="https://github.com/carljm"><code>@carljm</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li> <li><a href="https://github.com/dhruvmanila"><code>@dhruvmanila</code></a></li> <li><a href="https://github.com/ibraheemdev"><code>@ibraheemdev</code></a></li> <li><a href="https://github.com/jfrost-mo"><code>@jfrost-mo</code></a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.4.2</h2> <h3>Rule changes</h3> <ul> <li>[<code>flake8-pyi</code>] Allow for overloaded <code>__exit__</code> and <code>__aexit__</code> definitions (<code>PYI036</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11057">#11057</a>)</li> <li>[<code>pyupgrade</code>] Catch usages of <code>"%s" % var</code> and provide an unsafe fix (<code>UP031</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11019">#11019</a>)</li> <li>[<code>refurb</code>] Implement new rule that suggests min/max over <code>sorted()</code> (<code>FURB192</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10868">#10868</a>)</li> </ul> <h3>Server</h3> <ul> <li>Fix an issue with missing diagnostics for Neovim and Helix (<a href="https://redirect.github.com/astral-sh/ruff/pull/11092">#11092</a>)</li> <li>Implement hover documentation for <code>noqa</code> codes (<a href="https://redirect.github.com/astral-sh/ruff/pull/11096">#11096</a>)</li> <li>Introduce common Ruff configuration options with new server settings (<a href="https://redirect.github.com/astral-sh/ruff/pull/11062">#11062</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Use <code>macos-12</code> for building release wheels to enable macOS 11 compatibility (<a href="https://redirect.github.com/astral-sh/ruff/pull/11146">#11146</a>)</li> <li>[<code>flake8-blind-expect</code>] Allow raise from in <code>BLE001</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11131">#11131</a>)</li> <li>[<code>flake8-pyi</code>] Allow simple assignments to <code>None</code> in enum class scopes (<code>PYI026</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11128">#11128</a>)</li> <li>[<code>flake8-simplify</code>] Avoid raising <code>SIM911</code> for non-<code>zip</code> attribute calls (<a href="https://redirect.github.com/astral-sh/ruff/pull/11126">#11126</a>)</li> <li>[<code>refurb</code>] Avoid <code>operator.itemgetter</code> suggestion for single-item tuple (<a href="https://redirect.github.com/astral-sh/ruff/pull/11095">#11095</a>)</li> <li>[<code>ruff</code>] Respect per-file-ignores for <code>RUF100</code> with no other diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/pull/11058">#11058</a>)</li> <li>[<code>ruff</code>] Fix async comprehension false positive (<code>RUF029</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11070">#11070</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>[<code>flake8-bugbear</code>] Document explicitly disabling strict zip (<code>B905</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11040">#11040</a>)</li> <li>[<code>flake8-type-checking</code>] Mention <code>lint.typing-modules</code> in <code>TCH001</code>, <code>TCH002</code>, and <code>TCH003</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11144">#11144</a>)</li> <li>[<code>isort</code>] Improve documentation around custom <code>isort</code> sections (<a href="https://redirect.github.com/astral-sh/ruff/pull/11050">#11050</a>)</li> <li>[<code>pylint</code>] Fix documentation oversight for <code>invalid-X-returns</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11094">#11094</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Use <code>matchit</code> to resolve per-file settings (<a href="https://redirect.github.com/astral-sh/ruff/pull/11111">#11111</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/77c93fd63c1c072501d297082aa59c741b2d5466"><code>77c93fd</code></a> Bump version to 0.4.2 (<a href="https://redirect.github.com/astral-sh/ruff/issues/11151">#11151</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/1c9f5e3001da83a7e48aef21ef72d155c8928035"><code>1c9f5e3</code></a> Display the AST even with syntax errors (<a href="https://redirect.github.com/astral-sh/ruff/issues/11147">#11147</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/263a0d25edf0e56358a6132158d96f06bf94701b"><code>263a0d2</code></a> Use <code>macos-12</code> to build release wheels (<a href="https://redirect.github.com/astral-sh/ruff/issues/11146">#11146</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/4738e199747cdfb7dd82d45b3bd23b715ad0d526"><code>4738e19</code></a> Remove unused lexical error types (<a href="https://redirect.github.com/astral-sh/ruff/issues/11145">#11145</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/f428bd5052b9729cb25be4dd74c703308695edab"><code>f428bd5</code></a> Docs: mention <code>lint.typing-modules</code> in <code>TCH001</code>, <code>TCH002</code>, <code>TCH003</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/11144">#11144</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/4690890e9fc880489007ea557a0c7fcb190d9c73"><code>4690890</code></a> <code>ruff server</code>: In 'publish diagnostics' mode, document diagnostics are cleare...</li> <li><a href="https://github.com/astral-sh/ruff/commit/19baabba58c55d8c280b701dc5fb346ce19477bd"><code>19baabb</code></a> README: add Apache Superset to project list (<a href="https://redirect.github.com/astral-sh/ruff/issues/11136">#11136</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/cee38f39dfb7eaca22eda3c19a4d81adc4097105"><code>cee38f3</code></a> [<code>flake8-blind-expect</code>] Allow raise from in <code>BLE001</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/11131">#11131</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/e3fde2814655dd315683833c772d10e6cd55ba08"><code>e3fde28</code></a> [<code>flake8-pyi</code>] Allow overloaded <code>__exit__</code> and <code>__aexit__</code> definitions (`PYI0...</li> <li><a href="https://github.com/astral-sh/ruff/commit/1c8849f9a8a2e2dcc0849f35fd5c39049a1e4a6e"><code>1c8849f</code></a> Use Matchit to Resolve Per-File Settings (<a href="https://redirect.github.com/astral-sh/ruff/issues/11111">#11111</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/v0.4.1...v0.4.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.4.1&new-version=0.4.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9a109ad - Browse repository at this point
Copy the full SHA 9a109adView commit details -
Bump pytest from 8.1.1 to 8.2.0 (#173)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.1.1 to 8.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>8.2.0</h2> <h1>pytest 8.2.0 (2024-04-27)</h1> <h2>Deprecations</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12069">#12069</a>: A deprecation warning is now raised when implementations of one of the following hooks request a deprecated <code>py.path.local</code> parameter instead of the <code>pathlib.Path</code> parameter which replaced it:</p> <ul> <li><code>pytest_ignore_collect</code>{.interpreted-text role="hook"} - the <code>path</code> parameter - use <code>collection_path</code> instead.</li> <li><code>pytest_collect_file</code>{.interpreted-text role="hook"} - the <code>path</code> parameter - use <code>file_path</code> instead.</li> <li><code>pytest_pycollect_makemodule</code>{.interpreted-text role="hook"} - the <code>path</code> parameter - use <code>module_path</code> instead.</li> <li><code>pytest_report_header</code>{.interpreted-text role="hook"} - the <code>startdir</code> parameter - use <code>start_path</code> instead.</li> <li><code>pytest_report_collectionfinish</code>{.interpreted-text role="hook"} - the <code>startdir</code> parameter - use <code>start_path</code> instead.</li> </ul> <p>The replacement parameters are available since pytest 7.0.0. The old parameters will be removed in pytest 9.0.0.</p> <p>See <code>legacy-path-hooks-deprecated</code>{.interpreted-text role="ref"} for more details.</p> </li> </ul> <h2>Features</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11871">#11871</a>: Added support for reading command line arguments from a file using the prefix character <code>@</code>, like e.g.: <code>pytest @tests.txt</code>. The file must have one argument per line.</p> <p>See <code>Read arguments from file <args-from-file></code>{.interpreted-text role="ref"} for details.</p> </li> </ul> <h2>Improvements</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11523">#11523</a>: <code>pytest.importorskip</code>{.interpreted-text role="func"} will now issue a warning if the module could be found, but raised <code>ImportError</code>{.interpreted-text role="class"} instead of <code>ModuleNotFoundError</code>{.interpreted-text role="class"}.</p> <p>The warning can be suppressed by passing <code>exc_type=ImportError</code> to <code>pytest.importorskip</code>{.interpreted-text role="func"}.</p> <p>See <code>import-or-skip-import-error</code>{.interpreted-text role="ref"} for details.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11728">#11728</a>: For <code>unittest</code>-based tests, exceptions during class cleanup (as raised by functions registered with <code>TestCase.addClassCleanup <unittest.TestCase.addClassCleanup></code>{.interpreted-text role="meth"}) are now reported instead of silently failing.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11777">#11777</a>: Text is no longer truncated in the <code>short test summary info</code> section when <code>-vv</code> is given.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12112">#12112</a>: Improved namespace packages detection when <code>consider_namespace_packages</code>{.interpreted-text role="confval"} is enabled, covering more situations (like editable installs).</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/9502">#9502</a>: Added <code>PYTEST_VERSION</code>{.interpreted-text role="envvar"} environment variable which is defined at the start of the pytest session and undefined afterwards. It contains the value of <code>pytest.__version__</code>, and among other things can be used to easily check if code is running from within a pytest run.</p> </li> </ul> <h2>Bug Fixes</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12065">#12065</a>: Fixed a regression in pytest 8.0.0 where test classes containing <code>setup_method</code> and tests using <code>@staticmethod</code> or <code>@classmethod</code> would crash with <code>AttributeError: 'NoneType' object has no attribute 'setup_method'</code>.</p> <p>Now the <code>request.instance <pytest.FixtureRequest.instance></code>{.interpreted-text role="attr"} attribute of tests using <code>@staticmethod</code> and <code>@classmethod</code> is no longer <code>None</code>, but a fresh instance of the class, like in non-static methods.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/6bd3f313447290380cbc2db30fb9ee5cca7eb941"><code>6bd3f31</code></a> Tweak changelog for 8.2.0</li> <li><a href="https://github.com/pytest-dev/pytest/commit/9b6219b5e89af237e5bc80354d405d2b5c2fc8a0"><code>9b6219b</code></a> Prepare release version 8.2.0</li> <li><a href="https://github.com/pytest-dev/pytest/commit/835765c9d31e0a86c6028f983b28d32c82a759c4"><code>835765c</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12130">#12130</a> from bluetech/fixtures-inline</li> <li><a href="https://github.com/pytest-dev/pytest/commit/7e7503c0b015f61d9d21d3b5f55990b7fcd683f7"><code>7e7503c</code></a> unittest: report class cleanup exceptions (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12250">#12250</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/882c4da2f37702b00bdbd3b6c74e9821d33e0204"><code>882c4da</code></a> fixtures: inline <code>fail_fixturefunc</code></li> <li><a href="https://github.com/pytest-dev/pytest/commit/2e8fb9f1401d727e20f004326752fd1922f9c601"><code>2e8fb9f</code></a> fixtures: extract a <code>_check_fixturedef</code> method</li> <li><a href="https://github.com/pytest-dev/pytest/commit/acf2971f46a9518b3552d48ea9541a1951c2b207"><code>acf2971</code></a> fixtures: inline <code>_getnextfixturedef</code> into <code>_get_active_fixturedef</code></li> <li><a href="https://github.com/pytest-dev/pytest/commit/3c77aec1dac0894ec4ca774b71ec91c85cf91dd1"><code>3c77aec</code></a> fixtures: move "request" check early</li> <li><a href="https://github.com/pytest-dev/pytest/commit/d217d68cde0c34d619862f15c773ecc02ecdaabe"><code>d217d68</code></a> fixtures: inline <code>_compute_fixture_value</code></li> <li><a href="https://github.com/pytest-dev/pytest/commit/530be285751143febe54b8974b234eed5eb8b079"><code>530be28</code></a> fixtures: use early return in <code>_get_active_fixturedef</code></li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/8.1.1...8.2.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest&package-manager=pip&previous-version=8.1.1&new-version=8.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for defa9c5 - Browse repository at this point
Copy the full SHA defa9c5View commit details
Commits on Apr 30, 2024
-
Changed to use pivot tables in the download formatter (#167)
Closes #166 Changed the df_to_download to use pivot tables to generate the csv. This greatly improves the processing time of this function to just a few seconds for very large files, and consistently stays there as size increases. Also used QUOTE_NONNUMERIC instead of specifically escaping just the description column.
Configuration menu - View commit details
-
Copy full SHA for 7b0aeff - Browse repository at this point
Copy the full SHA 7b0aeffView commit details -
168 see if the df to json can be improved using pivot tables similar …
…to the df to download (#170) Closes #168 Wasn't able to use pivot tables, but in looking at the df.to_json() output and understanding that structure, found a much quicker way to translate it to the json we want using just python dict references instead of the dataframes. Significant improvement in processing time, especially as the dataset grows.
Configuration menu - View commit details
-
Copy full SHA for 971dc91 - Browse repository at this point
Copy the full SHA 971dc91View commit details