Skip to content

Commit 767f26a

Browse files
authored
implementar-melhorias-no-projeto-brintelcollector
feat: modularize platform and add cli/api interfaces
2 parents af1cc2e + 261c659 commit 767f26a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1580
-242
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
labels: bug
5+
---
6+
7+
## Describe the bug
8+
9+
A clear and concise description of what the bug is.
10+
11+
## To Reproduce
12+
13+
Steps to reproduce the behaviour:
14+
15+
1. Go to '...'
16+
2. Run '...'
17+
3. See error
18+
19+
## Expected behaviour
20+
21+
What you expected to happen.
22+
23+
## Screenshots
24+
25+
If applicable, add screenshots to help explain your problem.
26+
27+
## Environment
28+
29+
- OS:
30+
- Python version:
31+
- BRIntelcollector version:
32+
33+
## Additional context
34+
35+
Add any other context about the problem here.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
labels: enhancement
5+
---
6+
7+
## Summary
8+
9+
Describe the feature you would like.
10+
11+
## Motivation
12+
13+
Why is this feature important?
14+
15+
## Proposed Solution
16+
17+
How should we implement it?
18+
19+
## Alternatives
20+
21+
Describe alternatives considered.
22+
23+
## Additional context
24+
25+
Add any other context or screenshots about the feature request here.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## Summary
2+
3+
Explain the motivation for this change.
4+
5+
## Testing
6+
7+
- [ ] `make lint`
8+
- [ ] `make test`
9+
10+
## Checklist
11+
12+
- [ ] Documentation updated
13+
- [ ] Tests added or updated
14+
- [ ] Ready for review

.github/dependabot.yml

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

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-python@v5
14+
with:
15+
python-version: "3.11"
16+
- name: Install dependencies
17+
run: |
18+
python -m pip install --upgrade pip
19+
pip install -r requirements.txt
20+
- name: Lint
21+
run: |
22+
black --check .
23+
flake8 .
24+
mypy brintel
25+
- name: Test
26+
run: pytest

.gitignore

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
.env
2-
__pycache__
3-
.swp
4-
.pypirc
2+
__pycache__/
3+
*.pyc
4+
.cache/
5+
.mypy_cache/
6+
.pytest_cache/
7+
*.sqlite
8+
*.db
9+
data/
10+
*.egg-info/
11+
build/
12+
dist/

BRIntel/__init__.py

Lines changed: 0 additions & 24 deletions
This file was deleted.

BRIntel/otx/__init__.py

Lines changed: 0 additions & 73 deletions
This file was deleted.

BRIntel/xfe/__init__.py

Lines changed: 0 additions & 66 deletions
This file was deleted.

CODE_OF_CONDUCT.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Code of Conduct
2+
3+
We are committed to providing a welcoming and inspiring community for everyone. Contributors are expected to uphold the following principles:
4+
5+
- Be respectful and inclusive.
6+
- Collaborate with empathy and patience.
7+
- Provide constructive feedback.
8+
- Respect differing viewpoints and experiences.
9+
10+
Instances of abusive, harassing, or otherwise unacceptable behaviour may be reported by opening a confidential issue or contacting the maintainers directly.
11+
12+
This project follows the [Contributor Covenant](https://www.contributor-covenant.org/) guidelines.

0 commit comments

Comments
 (0)