Adding PyPi publishing #1
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements and updates to the project, focusing on automating CI/CD workflows, updating configuration validation for the latest Pydantic standards, and modernizing documentation and references. The most significant changes are the addition of GitHub Actions workflows for CI, release, and PyPI publishing, as well as updates to configuration validation and project references.
CI/CD Automation
.github/workflows/ci.ymlto automate testing, linting, formatting, type checking, security checks, CLI functionality tests, and code coverage reporting across multiple Python versions. Also includes build and installation verification steps..github/workflows/release.ymlto automate release creation on version tag pushes, including changelog generation, building, testing, and uploading release assets..github/workflows/publish.ymlto automate package publishing to PyPI on GitHub release events, with full test/build steps and artifact management.Configuration and Validation Updates
validatortofield_validatorinohheycrypto/config/settings.pyto comply with Pydantic v2, including correct use of@classmethodand updated validation logic for fields such asposition_sizing,ma_long, and API keys. [1] [2] [3] [4].dict()to.model_dump()in config saving for compatibility with Pydantic v2.Reference and Documentation Modernization
https://github.com/sn/ohheycryptoinstead of the previousohheycrypto/bot. [1] [2] [3] [4]README.mdfor clarity and ease of use, removing redundancy and updating commands. [1] [2]Testing and Packaging
tests/conftest.pyto match the latest configuration structure.pyproject.tomlto modernize package finding configuration for setuptools.