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

Bump semgrep + libsast #111

Merged
merged 1 commit into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion njsscan/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
__title__ = 'njsscan'
__authors__ = 'Ajin Abraham'
__copyright__ = f'Copyright {datetime.now().year} Ajin Abraham, OpenSecurity'
__version__ = '0.3.4'
__version__ = '0.3.5'
__version_info__ = tuple(int(i) for i in __version__.split('.'))
__all__ = [
'__title__',
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get_version(rel_path):
long_description_content_type='text/markdown',
install_requires=[
'colorama>=0.4.5',
'libsast>=1.5.2',
'libsast>=1.5.3',
'sarif-om>=1.0.4',
'jschema-to-python>=1.2.3',
'tabulate>=0.8.10',
Expand Down
27 changes: 18 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,22 @@ exclude =
dist
venv
ignore =
D101 ; Missing docstring in public class
D103 ; Missing docstring in public function
D104 ; Missing docstring
D107 ; docstring is not mandatory
D401 ; Allow non imperative mood
Q003 ; Allow only ' for strings
I100 ; Use python sort imports
SF01 ; Allow Private member access
R701 ; Function too complex
D101,
# Missing docstring in public class
D103,
# Missing docstring in public function
D104,
# Missing docstring
D107,
# docstring is not mandatory
D401,
# Allow non imperative mood
Q003,
# Allow only ' for strings
I100,
# Use python sort imports
SF01,
# Allow Private member access
R701,
# Function too complex
radon_max_cc = 10