Skip to content

Commit 69ded5e

Browse files
committed
misc(feat): refinements
Signed-off-by: 0xnu <f@finbarrs.eu>
1 parent ed9cbaf commit 69ded5e

File tree

16 files changed

+477
-141
lines changed

16 files changed

+477
-141
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "Data Analysis Environment",
3+
"image": "mcr.microsoft.com/devcontainers/python:3",
4+
"features": {
5+
"ghcr.io/devcontainers/features/common-utils:2": {
6+
"installZsh": true,
7+
"username": "vscode",
8+
"upgradePackages": true
9+
},
10+
"ghcr.io/devcontainers/features/mysql:1": {},
11+
"ghcr.io/devcontainers/features/oracle-client:1": {},
12+
"ghcr.io/devcontainers/features/aws-cli:1": {}
13+
},
14+
"customizations": {
15+
"vscode": {
16+
"extensions": [
17+
"mtxr.sqltools",
18+
"mtxr.sqltools-driver-mysql",
19+
"oracle.oracle-sql",
20+
"eamodio.gitlens",
21+
"GitHub.copilot",
22+
"ms-python.python",
23+
"ms-toolsai.jupyter",
24+
"ms-python.vscode-pylance"
25+
]
26+
}
27+
},
28+
"forwardPorts": [3306, 8888],
29+
"postCreateCommand": "pip install -r requirements.txt && sudo apt-get update && sudo apt-get install -y mysql-client default-libmysqlclient-dev",
30+
"remoteUser": "vscode"
31+
}

.github/FUNDING.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# These are supported funding model platforms
2-
31
github: [0xnu] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
42
patreon: # Replace with a single Patreon username
53
open_collective: # Replace with a single Open Collective username

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "devcontainers"
4+
directory: "/"
5+
schedule:
6+
interval: weekly

.github/pull_request_template.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## Pull Request
2+
3+
### Description
4+
Brief description of changes:
5+
6+
### Type of Change
7+
- [ ] Bug fix
8+
- [ ] New feature
9+
- [ ] Refactoring
10+
- [ ] Documentation update
11+
12+
### Checklist
13+
- [ ] Code follows project style guidelines
14+
- [ ] Self-review completed
15+
- [ ] Comments added for complex logic
16+
- [ ] Tests added/updated
17+
- [ ] All tests pass
18+
- [ ] No new warnings generated
19+
20+
### Additional Notes
21+
Add any other information about the pull request here.

.github/workflows/lint.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Lint
2+
3+
on:
4+
push:
5+
branches: [develop]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- name: Set up Python
15+
uses: actions/setup-python@v4
16+
with:
17+
python-version: "3.x"
18+
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
pip install ruff
23+
24+
- name: Create logs directory if it doesn't exist
25+
run: mkdir -p logs
26+
27+
- name: Run Ruff and save results
28+
run: |
29+
timestamp=$(date +"%Y%m%d_%H%M%S")
30+
ruff check . > logs/lint_result_${timestamp}.txt || true
31+
32+
- name: Run Ruff Format
33+
run: ruff format --check . || true
34+
35+
- name: Upload lint results
36+
uses: actions/upload-artifact@v4
37+
with:
38+
name: lint-results
39+
path: logs/lint_result_*.txt
40+
if: always()

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ var/
2323
*.egg-info/
2424
.installed.cfg
2525
*.egg
26+
.ruff_cache
27+
.venv
2628

2729
# PyInstaller
2830
# Usually these files are written by a python script from a template

LONG_DESCRIPTION.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ This project is licensed under the `MIT License`_.
8888
Copyright
8989
---------
9090

91-
Copyright |copy| 2023 `Finbarrs Oketunji`_. All Rights Reserved.
91+
Copyright |copy| 2023 - 2025 `Finbarrs Oketunji`_. All Rights Reserved.
9292

9393
.. |copy| unicode:: 0xA9 .. copyright sign
9494
.. _Finbarrs Oketunji: https://finbarrs.eu

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ This project is licensed under the [MIT License](./LICENSE).
7373

7474
## Copyright
7575

76-
(c) 2023 [Finbarrs Oketunji](https://finbarrs.eu). All Rights Reserved.
76+
(c) 2023 - 2025 [Finbarrs Oketunji](https://finbarrs.eu). All Rights Reserved.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.6
1+
1.0.8

amazon_scraper/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
from amazon_scraper.scraper import AmazonScraper
1+
from amazon_scraper.scraper import AmazonScraper
2+
3+
__all__ = ['AmazonScraper']

0 commit comments

Comments
 (0)