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

#418: Introducing python toolbox #421

Merged
merged 33 commits into from
Nov 19, 2024
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
7151f59
#418: Introduced Python-Toolbox
tomuben Nov 18, 2024
a8e59a8
Updated changelog
tomuben Nov 18, 2024
4e9eb87
Set pylint minimal rating
tomuben Nov 18, 2024
3b13ae8
Updated .gitignore
tomuben Nov 18, 2024
90d7600
Replace usages of Python3.8 with Ubuntu22.04+Python3.10 or Python3.9
tomuben Nov 18, 2024
6d446cd
Marked automatically generated GH workflows as such
tomuben Nov 18, 2024
3d20027
Update .pre-commit-config.yaml
tomuben Nov 18, 2024
043e573
Updated .pre-commit-config.yaml
tomuben Nov 18, 2024
e84ef05
Updated doc
tomuben Nov 18, 2024
d8c1f5b
Ignore check in checks.yml
tomuben Nov 18, 2024
30a0078
[run all tests]
tomuben Nov 18, 2024
f786764
Updated unreleased.md
tomuben Nov 18, 2024
a4afc19
Updated developer_guide.rst
tomuben Nov 18, 2024
21926e9
[run all tests]
tomuben Nov 18, 2024
f170c54
Updated release steps in developer guide
tomuben Nov 19, 2024
b3fe249
Removed some GH workflows from .gitattributes
tomuben Nov 19, 2024
e74fc13
Use matrix build in test_python_version.yml
tomuben Nov 19, 2024
aa6ca55
Restructed GH workflows for tests
tomuben Nov 19, 2024
2fc67cb
Removed all GH Workflows from .gitattributes
tomuben Nov 19, 2024
fad1093
Fixed security scanner
tomuben Nov 19, 2024
7fddee8
[run all tests]
tomuben Nov 19, 2024
67d9cab
[run all tests]
tomuben Nov 19, 2024
577f86b
1. Override unit test nox task
tomuben Nov 19, 2024
e898cf0
[run all tests]
tomuben Nov 19, 2024
2c8e28e
Cleaned up .pre-commit-config.yaml
tomuben Nov 19, 2024
3bc328c
[run all tests]
tomuben Nov 19, 2024
796cd6d
Added empty webfonts.html
tomuben Nov 19, 2024
0440ab7
Renamed tests.yml to tests_with_converage.yml
tomuben Nov 19, 2024
0776b0e
[run all tests]
tomuben Nov 19, 2024
c35769b
Renamed tests_with_converage.yml to tests_with_coverage.yml and fixe…
tomuben Nov 19, 2024
24ed63c
[run all tests]
tomuben Nov 19, 2024
950c0b4
Updated to exasol-toolbox 0.18.0 and removed overloading nox task lin…
tomuben Nov 19, 2024
72b1c2d
[run all tests]
tomuben Nov 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,12 @@ def copy_docker_db_config_templates(session: nox.Session):
shutil.rmtree(target_path)
with session.chdir(ROOT):
session.run("cp", "-rL", "docker_db_config_template", str(target_path))
session.run("git", "add", str(target_path))
session.run("git", "add", str(target_path))

@nox.session(name="lint:security", python=False)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is a hotpatch, please create a ticket that it gets replaced

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, Nico already fixed it in version 0.18.0. Will update dependencies and try again without it

def security_lint(session: nox.Session) -> None:
from exasol.toolbox.nox._lint import _security_lint
from exasol.toolbox.nox._shared import python_files
"""Runs the security linter on the project"""
py_files = [f"{file}" for file in python_files(ROOT / "exasol_integration_test_docker_environment")]
_security_lint(session, py_files)