Skip to content

Commit ed564c3

Browse files
authored
Merge pull request #43 from dbrennand/1.1.0
1.1.0
2 parents 68e8849 + aa9d7c5 commit ed564c3

19 files changed

Lines changed: 565 additions & 680 deletions

.github/workflows/ci.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,27 @@ on:
44
- push
55

66
jobs:
7-
Test:
7+
ci:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Check out repository
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@v4
1212

1313
- name: Set up Python
1414
id: setup-python
15-
uses: actions/setup-python@v2
15+
uses: actions/setup-python@v5
1616
with:
17-
python-version: 3.7
17+
python-version: 3.12
1818

1919
- name: Load cached Poetry installation
20-
uses: actions/cache@v2
20+
id: cached-poetry
21+
uses: actions/cache@v3
2122
with:
2223
path: ~/.local
2324
key: poetry-0
2425

2526
- name: Install Poetry
27+
if: steps.cached-poetry.outputs.cache-hit != 'true'
2628
uses: snok/install-poetry@v1
2729
with:
2830
virtualenvs-create: true
@@ -31,7 +33,7 @@ jobs:
3133

3234
- name: Load cached venv
3335
id: cached-poetry-dependencies
34-
uses: actions/cache@v2
36+
uses: actions/cache@v3
3537
with:
3638
path: .venv
3739
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}

.github/workflows/publish.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,22 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Check out repository
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v4
1414

1515
- name: Set up Python
16-
uses: actions/setup-python@v2
16+
uses: actions/setup-python@v5
1717
with:
18-
python-version: 3.7
18+
python-version: 3.12
1919

2020
- name: Load cached Poetry installation
21-
uses: actions/cache@v2
21+
id: cached-poetry
22+
uses: actions/cache@v3
2223
with:
2324
path: ~/.local
2425
key: poetry-0
2526

2627
- name: Install Poetry
28+
if: steps.cached-poetry.outputs.cache-hit != 'true'
2729
uses: snok/install-poetry@v1
2830

2931
- name: Configure Poetry

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 1.1.0
4+
5+
* chore(deps): Update all dependencies.
6+
* chore: update license year.
7+
38
## 1.0.2
49

510
* chore(deps): Update all dependencies.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 dbrennand
3+
Copyright (c) 2024 Daniel Brennand
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

examples/comments.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
https://developers.virustotal.com/v2.0/reference/comments-get
2020
https://developers.virustotal.com/v2.0/reference/comments-put
2121
"""
22+
2223
from virustotal_python import Virustotal
2324
from base64 import urlsafe_b64encode
2425

examples/cursor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
88
* v3 documentation - https://developers.virustotal.com/reference/collections
99
"""
10+
1011
from virustotal_python import Virustotal
1112

1213
API_KEY = "<VirusTotal API Key>"

examples/domain_info.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
1010
* v2 documentation - https://developers.virustotal.com/v2.0/reference/domain-report
1111
"""
12+
1213
from virustotal_python import Virustotal
1314
from pprint import pprint
1415

examples/file_info.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
1010
* v2 documentation - https://developers.virustotal.com/v2.0/reference/file-report
1111
"""
12+
1213
from virustotal_python import Virustotal
1314
from pprint import pprint
1415

examples/graphs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
88
* v3 documentation - https://developers.virustotal.com/reference/graphs
99
"""
10+
1011
from virustotal_python import Virustotal
1112

1213
API_KEY = "<VirusTotal API Key>"

examples/ip.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
1414
* v2 documentation - https://developers.virustotal.com/v2.0/reference/ip-address-report
1515
"""
16+
1617
from virustotal_python import Virustotal
1718
from pprint import pprint
1819

0 commit comments

Comments
 (0)