Commit graph

12 commits

Author SHA1 Message Date
L1ghtn1ng
13a0cdd62a Add async pagination helper and update pytest settings
Introduce the `next_page_or_end` method in `githubcode.py` to handle pagination. Additionally, modify the test case and upgrade pytest settings in `pyproject.toml` to the latest versions, ensuring compatibility and updated configurations.
2024-10-27 01:02:05 +01:00
L1ghtn1ng
7550063c17 Update Python version requirements and clean up code
Upgraded the minimum required Python version to 3.11 across various files. Removed `pyre-check` from dependencies and temporarily disabled mypy static type checker in the CI configuration. Additionally, simplified several condition checks and fixed formatting inconsistencies in theHarvester modules.
2024-10-16 03:27:09 +01:00
Elior Fureraj
811d1c3b6e * bump python version to 3.10 2024-06-16 20:38:47 +02:00
L1ghtn1ng
03e9bb34ef Refactor core.py and update pyproject.toml configuration
Within core.py, the import statement for the 'Sized' attribute from 'collections.abc' is moved under a TYPE_CHECKING condition for better import flow control. The Ruff lint configuration in pyproject.toml has been simplified to select specific error codes and the `show-fixes` option has been enabled, allowing visibility of possible fixes for erring lines.
2024-03-17 22:27:42 +00:00
J.Townsend
d36e326f77
bump version info 2024-03-17 20:13:30 +00:00
L1ghtn1ng
fbf9244bd8 Replace various linters with Ruff
This commit removes individual linters and formatters such as black, flake8 and isort and replaces them with Ruff. The relevant configuration files have been deleted and the settings have been merged into pyproject.toml. Also, python-version in the GitHub workflow file has been updated to include 3.12. Ruff's linter and formatter is now used in the GitHub workflows as well.
2024-03-02 22:27:55 +00:00
L1ghtn1ng
882a32004d change email addr 2023-11-12 22:01:55 +00:00
Branch Vincent
4d825aaf33
build: migrate to pep517 backend (#1505)
* build: migrate to pep517 backend

* test loading config files
2023-10-08 19:45:23 +01:00
J.Townsend
0ac71ab682 actually fix pyest config file 2022-06-10 00:19:46 +00:00
J.Townsend
0bea21f340 fix invalid pytest syntax 2022-06-09 23:51:30 +00:00
J.Townsend
a3d27634a6 fix pytest ci warning 2022-06-09 23:47:09 +00:00
J.Townsend
6f334c75f2 Add pyproject.toml file 2022-06-09 23:42:14 +00:00