Skip to content

Commit ba3a236

Browse files
authored
Merge pull request #250 from intelowlproject/develop
5.0.2
2 parents 3a4c870 + 7864844 commit ba3a236

File tree

12 files changed

+29
-95
lines changed

12 files changed

+29
-95
lines changed

.flake8

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[flake8]
22
max-line-length = 88
33
ignore =
4-
W503, # line break before binary operator
5-
E231, # missing whitespace after ',' (caused by black style)
6-
W605, # invalid escape sequence (caused by regex)
7-
W291 # trailing whitespace
4+
W503,
5+
E231,
6+
W605,
7+
W291,
88
exclude =
99
setup.py
1010
*venv*

.github/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Changelog
2+
## [5.0.2](https://github.com/intelowlproject/pyintelowl/releases/tag/5.0.2)
3+
Fixed previous broken release
4+
25
## [5.0.1](https://github.com/intelowlproject/pyintelowl/releases/tag/5.0.1)
36
- Updated documentation
47
- Removed old endpoints

.github/workflows/pull_request_automation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fail-fast: false
1212
max-parallel: 5
1313
matrix:
14-
python-version: ['3.8', '3.9', '3.10']
14+
python-version: ['3.9', '3.10', '3.11']
1515

1616
steps:
1717
- uses: actions/checkout@v2

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 22.3.0
3+
rev: 24.8.0
44
hooks:
55
- id: black
6-
- repo: https://gitlab.com/pycqa/flake8
7-
rev: 4.0.1
6+
- repo: https://github.com/PyCQA/flake8
7+
rev: 7.1.1
88
hooks:
99
- id: flake8
1010
- repo: https://github.com/pycqa/isort
11-
rev: 5.10.1
11+
rev: 5.12.0
1212
hooks:
1313
- id: isort
14-
args: ["--profile", "black", "--filter-files", "--skip", "pyquokka", "--skip", "venv"]
14+
args: ["--profile", "black", "--filter-files", "--skip", "venv"]

pyintelowl/cli/__init__.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
from .analyse import analyse
2-
from .commands import (
3-
analyzer_healthcheck,
4-
connector_healthcheck,
5-
get_analyzer_config,
6-
get_connector_config,
7-
get_playbook_config,
8-
)
2+
from .commands import analyzer_healthcheck, connector_healthcheck
93
from .config import config
104
from .jobs import jobs
115
from .tags import tags
@@ -19,9 +13,6 @@
1913

2014

2115
cmds = [
22-
get_analyzer_config,
23-
get_connector_config,
24-
get_playbook_config,
2516
analyzer_healthcheck,
2617
connector_healthcheck,
2718
]

pyintelowl/cli/_jobs_utils.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,11 @@ def _display_all_jobs(logger, rows):
115115
table.add_row(
116116
str(el["id"]),
117117
el["observable_name"] if el["observable_name"] else el["file_name"],
118-
el["observable_classification"]
119-
if el["observable_classification"]
120-
else el["file_mimetype"],
118+
(
119+
el["observable_classification"]
120+
if el["observable_classification"]
121+
else el["file_mimetype"]
122+
),
121123
", ".join([t["label"] for t in el["tags"]]),
122124
", ".join(el["analyzers_to_execute"]),
123125
", ".join(el["connectors_to_execute"]),

pyintelowl/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "5.0.1"
1+
__version__ = "5.0.2"

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ exclude = '''
33
/(
44
opt
55
| venv
6-
| migrations
76
)/
87
'''
98
[tool.isort]

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,18 @@
4444
"Environment :: Web Environment",
4545
# Pick your license as you wish (should match "license" above)
4646
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
47-
"Programming Language :: Python :: 3.8",
4847
"Programming Language :: Python :: 3.9",
4948
"Programming Language :: Python :: 3.10",
5049
"Programming Language :: Python :: 3.11",
5150
"Topic :: Software Development :: Libraries :: Python Modules",
5251
],
5352
packages=find_packages(),
54-
python_requires=">=3.8",
53+
python_requires=">=3.9",
5554
include_package_data=True,
5655
install_requires=requirements,
5756
project_urls={
5857
"Documentation": GITHUB_URL,
59-
"Funding": "https://liberapay.com/IntelOwlProject/",
58+
"Funding": "https://opencollective.com/intelowl-project",
6059
"Source": GITHUB_URL,
6160
"Tracker": f"{GITHUB_URL}/issues",
6261
},

test-requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
black==22.3.0
2-
flake8==4.0.1
3-
isort==5.10.1
4-
pre-commit==2.17.0
1+
black==24.8.0
2+
flake8==7.1.1
3+
isort==5.12.0
4+
pre-commit==3.8.0
55
tox==3.25.1
66
tox-gh-actions==2.9.1
77
codecov==2.1.13

0 commit comments

Comments
 (0)