Commit Graph

10 Commits

Author SHA1 Message Date
John Seong
4684db3f8b chore(lint): migrate from pydocstyle to ruff (#7346)
pydocstyle has been deprecated and archived (Nov 2023). The maintainers
recommend migrating to Ruff, which has full parity with pydocstyle.

Changes:
- Add "D" (pydocstyle) rules to ruff.toml select list
- Migrate ignore rules from .pydocstyle.ini to ruff.toml
- Remove pydocstyle from CI workflow
- Delete .pydocstyle.ini

This also fixes false positives like D402 being triggered incorrectly
when a method named `name` has a docstring containing "name" anywhere.

See: https://github.com/PyCQA/pydocstyle (archived)

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2026-02-07 18:38:29 +00:00
Danglewood
b46bfadba7 [Feature] openbb-cookiecutter: Extension Template (#7261)
* add openbb-cookiecutter to repo

* typo

* review items

* some fixes

* missing annotation

* duplicate ignore in pylintrc

* protected access

---------

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: deeleeramone <>
2025-11-07 18:51:18 +00:00
Danglewood
9f0d592839 [Feature] Remove Python 3.9 (#7235)
* remove python 3.9 support and code

* black

* more cli lint

* more linting

* more lint

* fix for tests

* docstring grammar police

* add lock to to build function to avoid async import race conditions

* grammar police

* lots more linting

* relock
2025-10-10 23:16:16 +00:00
Danglewood
a6e9128128 [Feature] Support Python 3.13 (#7193)
* stash pyproject.toml

* update pyproject.toml files

* update devtools pyproject

* don't pass None to pytest.warns()

* moves openbb into the core folder and change reference links

* more directory references

* static assets built with 3-9

* fix test

* need 'assets' in reference loader path

* fix reference path

* congress gov lock
2025-09-08 17:46:38 +00:00
Danglewood
1eda464386 add PLC0415 to ruff ignore because we don't want ruff to do anything about it or raise a linting error (#7166) 2025-07-14 15:19:27 +00:00
Danglewood
d15e7c4c31 [BugFix] Update ruff.toml To Use Python 3.9 As Minimum Supported Version (#6733)
* update ruff target version to py39

* add temp ignores for UP035 and UP006

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-10-07 09:47:00 +00:00
Henrique Joaquim
f91791dbf9 [BugFix] Revamp the usage of list syntax on routines (#6450)
* using list syntax on routines

* black

* ruff

* simplify

* black
2024-05-22 11:46:19 +00:00
montezdesousa
1994b34866 [BugFix] Bump anyio & sync pre-commit, openbb-devtools and GitHub workflows (#6443)
* fix: update anyio & ruff

* fix: ruff updates

* remove TODO

* lock cli

* bump black

* fix: lock sec

* fix: sec test

* fix: replace toml with tomlkit in test
2024-05-21 10:46:03 +00:00
montezdesousa
cc15a770da [Feature] - Rename terminal folder (#6349)
* rename terminal folder

* docstring

* Rename to openbb_cli

* rename constant

* rename .his file

* pyproject.toml

* Update pre-commit and remove docker-build.yml
2024-04-30 12:42:31 +00:00
montezdesousa
9dce7346b2 move linting rules from pyproject.toml to ruff.toml (#6350)
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-04-29 16:25:50 +00:00