Skip to content

Commit

Permalink
v2.2.3 (#104)
Browse files Browse the repository at this point in the history
* Update `pyproject.yml` for deps and new checks
* Add new scripts and configs
* Update gitignores
* Fix formatting
* Quite some lint warnings
* Bump version and add some info to NEWS.md
* Use `allowlist_externals` for tox
  • Loading branch information
bpepple authored Mar 18, 2024
1 parent 93b35cc commit fffa57f
Show file tree
Hide file tree
Showing 51 changed files with 14,771 additions and 716 deletions.
13 changes: 13 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
*~
!.circleci
dist
.git
.mypy_cache
node_modules
package-lock.json
**/__pycache__
.pytest_cache
.ruff_cache
*test-results*
typings
.venv
40 changes: 19 additions & 21 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,36 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

title: ""
labels: ""
assignees: ""
---

**Describe the bug**
A clear and concise description of what the bug is.
**Describe the bug** A clear and concise description of what the bug is.

**To Reproduce** Steps to reproduce the behavior:

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.
**Expected behavior** A clear and concise description of what you expected to
happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.
**Screenshots** If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context** Add any other context about the problem here.
23 changes: 11 additions & 12 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

title: ""
labels: ""
assignees: ""
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Is your feature request related to a problem? Please describe.** A clear and
concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe the solution you'd like** A clear and concise description of what you
want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Describe alternatives you've considered** A clear and concise description of
any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
**Additional context** Add any other context or screenshots about the feature
request here.
2 changes: 1 addition & 1 deletion .github/workflows/changelog-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Changelog CI

on:
pull_request:
types: [ opened ]
types: [opened]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Ruff
on: [ push, pull_request ]
on: [push, pull_request]
jobs:
ruff:
runs-on: ubuntu-latest
Expand Down
172 changes: 75 additions & 97 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,112 +1,90 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*~
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build
build/
.cache
celerybeat.pid
celerybeat-schedule
*.cover
.coverage
.coverage.*
coverage.xml
develop-eggs/
dist
dist/
.dmypy.json
dmypy.json
.docker-token
docs/_build/
downloads/
eggs/
.DS_Store
*.egg
*.egg-info/
.eggs/
eggs/
.env
.env-*
env/
ENV/
env.bak/
.eslintcache
htmlcov/
.hypothesis/
.idea
.installed.cfg
instance/
.ipynb_checkpoints
ipython_config.py
jspm_packages/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
local_settings.py
*.log
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
MANIFEST
*.mo
monkeytype.sqlite3
.mypy_cache/
node_modules
node_modules/
nosetests.xml
.nox/
.npm
parts/
pip-delete-this-directory.txt
pip-log.txt
pip-wheel-metadata/
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
profile_default/
__pycache__/
*.py[cod]
*.py,cover
__pypackages__/
.pypirc
.pypi-token
.pyre/
.pytest_cache/
.Python
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
requirements.txt
.ropeproject
.ruff_cache/
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.scrapy
sdist/
share/python-wheels/
__snapshots__
*.so
*.spec
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/

# Eclipse files
.project
.pydevproject
.settings/

# VSCode
.vscode/
target/
test-results
TODO.md
.tox/
var/
.venv*
venv/
venv.bak/
.webassets-cache
wheels/
8 changes: 0 additions & 8 deletions .idea/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/inspectionProfiles/profiles_settings.xml

This file was deleted.

17 changes: 0 additions & 17 deletions .idea/metron-tagger.iml

This file was deleted.

7 changes: 0 additions & 7 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

7 changes: 1 addition & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
repos:
- repo: https://github.com/asottile/seed-isort-config
rev: v2.2.0
hooks:
- id: seed-isort-config
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.1.14
rev: v0.3.3
hooks:
- id: ruff
- id: ruff-format

13 changes: 13 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
dist
.git
.idea
.mypy_cache
/node_modules
package-lock.json
poetry.lock
__pycache__
.pytest_cache
.ruff_cache
/test-results
.tox
.venv*
Loading

0 comments on commit fffa57f

Please sign in to comment.