Skip to content
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

v 1.1.1 #176

Merged
merged 28 commits into from
Oct 27, 2023
Merged

v 1.1.1 #176

merged 28 commits into from
Oct 27, 2023

Conversation

cleder
Copy link
Owner

@cleder cleder commented Oct 27, 2023

workerB

pre-commit-ci bot and others added 28 commits October 16, 2023 16:34
updates:
- [github.com/pre-commit/mirrors-mypy: v1.5.1 → v1.6.0](pre-commit/mirrors-mypy@v1.5.1...v1.6.0)
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 23.9.1 → 23.10.0](psf/black@23.9.1...23.10.0)
- [github.com/astral-sh/ruff-pre-commit: v0.0.292 → v0.1.1](astral-sh/ruff-pre-commit@v0.0.292...v0.1.1)
- [github.com/pre-commit/mirrors-mypy: v1.6.0 → v1.6.1](pre-commit/mirrors-mypy@v1.6.0...v1.6.1)
This commit fixes the style issues introduced in a4fcfef according to the output
from Black and isort.

Details: #172
[pre-commit.ci] pre-commit autoupdate
170 modernize packaging - requirements to toml
@watermelon-copilot-for-code-review

WatermelonAI Summary

The 28 commits in this Pull Request mainly focus on updating dependencies, modernizing packaging, and improving code style. Most of the updates are related to pre-commit configuration, such as updating pre-commit hooks and autoupdating pre-commit configurations. The updates also include upgrading various dependencies like mypy, black, and ruff-pre-commit. Additionally, there are changes to the packaging system, such as dropping setup.py in favor of pyproject.toml and moving requirements to toml files. Overall, these changes aim to enhance the codebase, ensure consistency, and improve overall development and deployment processes.

GitHub PRs

Click here to login to Jira
Click here to login to Confluence
Click here to login to Slack
Click here to login to Notion
Click here to login to Linear
Click here to login to Asana
pygeoif is an open repo and Watermelon will serve it for free.
🍉🫶

@codecov
Copy link

codecov bot commented Oct 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (be7fecf) 100.00% compared to head (4226320) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #176   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           20        21    +1     
  Lines         2225      2244   +19     
=========================================
+ Hits          2225      2244   +19     
Files Coverage Δ
pygeoif/__init__.py 100.00% <100.00%> (ø)
pygeoif/about.py 100.00% <100.00%> (ø)
pygeoif/exceptions.py 100.00% <ø> (ø)
pygeoif/factories.py 100.00% <100.00%> (ø)
pygeoif/feature.py 100.00% <100.00%> (ø)
pygeoif/functions.py 100.00% <100.00%> (ø)
pygeoif/geometry.py 100.00% <100.00%> (ø)
pygeoif/types.py 100.00% <100.00%> (ø)
tests/test_factories.py 100.00% <100.00%> (ø)
tests/test_geometrycollection.py 100.00% <ø> (ø)
... and 2 more

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ghost
Copy link

ghost commented Oct 27, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@cleder cleder merged commit a6bde2d into main Oct 27, 2023
48 of 49 checks passed
@what-the-diff
Copy link

what-the-diff bot commented Oct 27, 2023

PR Summary

  • Additional Python version and CodeCov setup updates
    The workflow to automate running tests includes now support for a newer Python version (3.13-dev), enhancing our code compatibility. Additionally, the step that uploads test coverage data to CodeCov now uses a token parameter.

  • Enhanced Ignorable Directories
    The .gitignore file got an update to exclude more directories related to testing and virtual environments, helping to keep the codebase cleaner.

  • Improved Pre-commit Setup
    Our pre-commit configuration got an upgrade, where the coding style checks (black, ruff) are now using their newer versions. We also added two new code check hooks (validate-pyproject and pyprojectsort).

  • Documentation and Dependency Updates
    Necessary updates have been made to various text files including the README.rst, HISTORY.txt, and LICENSE.txt to fix typos, update documentation, dependencies and license information.

  • Better Code Context
    A type hint has been updated in mutmut_config.py that represents better usage of the Context parameter, enhancing the readability of our code.

  • Codebase Optimizations
    Several other files including exceptions.py, factories.py, feature.py, and functions.py have been updated for fixing typographical errors, enhancing the docstrings and correcting several function implementations.

  • Definition of Project Configuration
    A pyproject.toml file has been introduced with several sections that determine the entire project's build settings, dependencies, and various tool configurations.

  • Test Cases Refinement
    Test cases present in files like test_factories.py, test_geometrycollection.py, test_point.py, and test_polygon.py got a revision to improve the correctness of their assertions.

  • Tox Configuration Update
    Our tox configuration, which controls automated testing environments, has been updated to include additional fields and modify existing ones to serve testing better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant