Skip to content

Update python minimum version to 3.10 #32

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

Merged
merged 11 commits into from
Mar 7, 2023
Merged

Update python minimum version to 3.10 #32

merged 11 commits into from
Mar 7, 2023

Conversation

unixorn
Copy link
Owner

@unixorn unixorn commented Mar 7, 2023

  • Bump to 0.14.0
  • New minimum python version of 3.10
  • Docker images now based on python:3.10
  • Dependency updates now that we're on 3.10
  • Docstring cleanups
  • Switch to using pre-commit instead of autohook.sh for git hooks
    • Add a lot more pre-commit checks
    • Switch to using upstream black's pre-commit hook

unixorn added 10 commits March 3, 2023 18:35
Update the docstrings and add a few missing types to function arguments

Signed-off-by: Joe Block <jblock@zscaler.com>
Signed-off-by: Joe Block <jblock@zscaler.com>
Signed-off-by: Joe Block <jblock@zscaler.com>
- Bump project minimum python version to 3.10
- Add ruff dev dependency for linting

Signed-off-by: Joe Block <jblock@zscaler.com>
Now that our python version is 3.10+, update our dependencies

Signed-off-by: Joe Block <jblock@zscaler.com>
Signed-off-by: Joe Block <jblock@zscaler.com>
- Add a bunch more pre-commit checks
- Remove a bunch of trailing whitespace
- Remove unnecessary shebangs and executable bits

Signed-off-by: Joe Block <jblock@zscaler.com>
Signed-off-by: Joe Block <jblock@zscaler.com>
Signed-off-by: Joe Block <jblock@zscaler.com>
Signed-off-by: Joe Block <jblock@zscaler.com>
@github-actions
Copy link

github-actions bot commented Mar 7, 2023

🦙 MegaLinter status: ❌ ERROR

Descriptor Linter Files Fixed Errors Elapsed time
❌ DOCKERFILE hadolint 1 1 0.09s
✅ EDITORCONFIG editorconfig-checker 20 0 0.06s
✅ JSON eslint-plugin-jsonc 1 0 0.97s
✅ JSON jsonlint 1 0 0.18s
✅ JSON prettier 1 0 0.42s
❌ JSON v8r 1 1 1.8s
❌ PYTHON bandit 10 3 0.7s
✅ PYTHON black 10 0 0.87s
✅ PYTHON flake8 10 0 0.5s
✅ PYTHON pylint 10 0 3.13s
✅ REPOSITORY devskim yes no 0.68s
✅ REPOSITORY dustilock yes no 0.0s
✅ REPOSITORY gitleaks yes no 0.23s
✅ REPOSITORY git_diff yes no 0.0s
✅ REPOSITORY secretlint yes no 0.74s
✅ REPOSITORY syft yes no 0.39s
⚠️ YAML prettier 1 1 0.4s
✅ YAML v8r 1 0 1.22s
✅ YAML yamllint 1 0 0.27s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

Signed-off-by: Joe Block <jblock@zscaler.com>
@unixorn unixorn merged commit 91b7bc7 into main Mar 7, 2023
@unixorn unixorn deleted the 3.10-update branch March 7, 2023 21:47
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