Commit Graph

72 Commits

Author SHA1 Message Date
Stevie Gayet 48de276954
chore(typing): annotate utils/debug.py (#1714)
Co-authored-by: Stevie Gayet <stegayet@users.noreply.github.com>
2024-06-04 02:24:30 +03:00
Stevie Gayet c03335e167
chore(ci): fix lint job (#1718)
* chore(ci): align python version between matrix and tox config

* chore(pydocstyle): upgrade pydocstyle to 6.3.0

* chore(pydocstyle): exclude rules

* fix(mypy): fix `[truthy-function]` error

* fix(pydocstyle): fix D205 rule

* fix(pydocstyle): fix D212 rule

* fix(pydocstyle): fix D407 rule

* fix(pydocstyle): fix D412 rule

* fix(pydocstyle): fix D406 rule

* fix(pydocstyle): fix D411 rule

---------

Co-authored-by: Stevie Gayet <stegayet@users.noreply.github.com>
2023-05-15 08:11:34 +06:00
Marcelo Trylesinski f76726270a Add ext.py files to setup.cfg 2022-07-03 14:13:56 +06:00
Marcelo Trylesinski 1a7b9c490b
Annotate `matcher.py` (#1532) 2022-06-03 08:43:36 +02:00
Marcelo Trylesinski 0a2f54eac2
Annotate `abstract.py` (#1522)
* Annotate `abstract.py`

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* apply pre-commit

* Use quotes

* Add typing_extensions as requirement

* Add quotes

* Add quotes

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-05-15 13:17:49 +06:00
Marcelo Trylesinski 14d395aa85
Annotate `exceptions.py` and `clocks.py` (#1526)
* Annotate `exceptions.py`

* Annotate `clocks.py`
2022-04-18 18:52:26 +06:00
Marcelo Trylesinski 7516daf7a7 Bump pyupgrade version and add __future__.annotations import 2022-04-15 14:16:57 +06:00
Marcelo Trylesinski a93099b671
Annotate init files (#1527)
* Annotate init files

* Fix fmatch_best annotation
2022-04-14 11:10:01 +06:00
Marcelo Trylesinski 7d99b6f79f
Annotate `utils/uuid.py` and `utils/text.py` (#1514)
* Annotate `utils/uuid.py` and `utils/text.py`

* Use callable without any parameter

* Update kombu/utils/text.py
2022-04-12 20:39:42 +06:00
Sondre Lillebø Gundersen 4b67ad1692 chore: Annotate semaphore.py
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2022-04-12 17:11:49 +06:00
Marcelo Trylesinski ea11a0b787
Add `mypy` to the pipeline (#1512)
* Add `mypy` to the pipeline

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-04-09 12:05:57 +06:00
Asif Saif Uddin 2d655ccaa6 removre bdist 2021-10-23 12:35:03 +06:00
Thomas Grainger 241b5dcff8
enable pre-commit (#1355)
* enable pre-commit

* use extend-ignore for flake8

* manual flake8 fixes

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update kombu/__init__.py

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-07-20 19:07:49 +06:00
Omer Katz a042d57c57 Wheels are no longer universal. 2020-09-06 18:51:04 +03:00
Mads Jensen bb6d16c28d Removed Jython bz2 import fallback (#938) 2018-10-28 19:05:18 +02:00
Jon Dufresne de87d2f1fa Include license file in the generated wheel packages (#807)
The wheel package format supports including the license file. This is
done using the [metadata] section in the setup.cfg file. For additional
information on this feature, see:

https://wheel.readthedocs.io/en/stable/index.html#including-the-license-in-the-generated-wheel-file
2017-10-16 09:10:27 +03:00
Jon Dufresne 645bbd3078 Rename [wheel] section to [bdist_wheel] as the former is legacy (#749)
See:

54ddbcc9ce/wheel/bdist_wheel.py?fileviewer=file-view-default#bdist_wheel.py-119:125

http://pythonwheels.com/
2017-06-02 21:59:57 +06:00
Ask Solem 95d904801d Dist: Updates bdist_rpm requirements 2016-10-28 11:43:00 -07:00
Ask Solem c457a88459 pep257 -> pydocstyle 2016-10-11 14:59:00 -07:00
Ask Solem b6893da353 Moves pydocstyle config to setup.cfg 2016-10-11 13:33:10 -07:00
Ask Solem 836512cadd Adds pydocstyle as a tox target 2016-10-11 12:33:31 -07:00
Ask Solem cff1b829cd Moves funtests -> t/integration 2016-08-23 12:52:14 -07:00
Ask Solem 6d72e40e5b Rewrite tests to use py.test
NOTE: test_qpid was removed as it's breaking horribly.
It's currently trying to import symbols from kombu.transport.qpid
that don't exist.

assertRaises -> pytest.raises

assertTrue

assertTrue - multiline

assertFalse

assertFalse - multiline

assertIsNone

assertIsNone - multiline

assertEqual

assertEqual - multiline

assertNotEqual

assertNotEqual - multiline

assertGreater - multiline

assertIn

assertIn - multiline

assertNotIn

assertNotIn - multiline

assertIsInstance

assertIsInstance - multiline

assertIsNot

assertIsNot - multiline

assertIsNotNone

assertIs

assertIs - multiline

Manual changes

Now depends on case 1.3.1
2016-08-23 11:38:54 -07:00
Ask Solem 719ce2ef78 Use celery_sphinx to manage docs 2016-04-07 17:29:30 -07:00
Ask Solem 1f36724517 Merge branch '3.0'
Conflicts:
	README.rst
	kombu/__init__.py
	kombu/async/hub.py
	kombu/five.py
	kombu/pidbox.py
	kombu/tests/test_entities.py
	kombu/tests/transport/test_redis.py
	kombu/transport/amqplib.py
	kombu/transport/mongodb.py
	kombu/utils/compat.py
	setup.cfg
	tox.ini
2014-06-24 15:38:35 +01:00
Ask Solem 4d45d8ba30 Apparently all deps must be listed in wheels [metadata] 2014-06-09 16:45:01 +01:00
Ask Solem 7cf59f3a20 Use setup.cfg [metadata] for current wheel releases 2014-06-09 16:41:56 +01:00
Ask Solem cdb39c4fbf Do not tag date 2014-06-02 18:39:01 +01:00
Ask Solem e96cbe416b Updates setup.cfg 2014-06-02 17:48:37 +01:00
Ask Solem bfb5060f1f Removes importlib depdendency in bdist_rpm 2014-05-20 21:50:18 +01:00
Ask Solem 3d963c1eb6 Removes anyjson dependency :sad: 2014-05-20 21:49:47 +01:00
Ask Solem 55197ee341 master now depends on Python 2.7 2014-05-19 22:27:36 +01:00
Ask Solem ddb320e9f3 Now depends on amqp 1.4.5 2014-04-15 22:11:50 +01:00
Ask Solem 1210b04740 Now depends on amqp 1.4.4 2014-03-03 16:14:28 +00:00
Ask Solem 60a5c63cb6 Support for coveralls 2014-02-09 15:47:11 +00:00
Ask Solem c3ed134d92 Now depends on amqp 1.4.2 2014-02-03 16:29:55 +00:00
Ask Solem d1ed0c27ff Now depends on amqp 1.4.1 2014-01-17 16:48:12 +00:00
Ask Solem fdd3f6e476 Now depends on amqp 1.4.0 2014-01-13 15:05:21 +00:00
Matt Wise 9dd936bd3b Remove kombu.trasnport.SQS from the coverage report exclusion list. 2013-12-03 08:58:32 -08:00
Ask Solem e9adab6f4f Now depends on amqp 1.3.3 2013-11-15 22:49:02 +00:00
Ask Solem 34f15c539d Now depends on amqp 1.3.2 2013-10-29 13:57:24 +00:00
Ask Solem 98a71e5503 Now depends on amqp 1.3.1 2013-10-24 16:52:11 +01:00
Ask Solem df1438c18f Now depends on amqp 1.3.0 2013-10-04 15:18:30 +01:00
Ask Solem 10ff0f2e59 Adds more tests 2013-09-12 13:10:42 +01:00
Ask Solem f68f8ac8c0 Merge branch 'master' into 3.0
Conflicts:
	kombu/abstract.py
	kombu/clocks.py
	kombu/messaging.py
	kombu/pidbox.py
	kombu/pools.py
	kombu/tests/mocks.py
	kombu/tests/test_common.py
	kombu/tests/test_messaging.py
	kombu/tests/test_serialization.py
	kombu/tests/test_utils.py
	kombu/tests/transport/test_redis.py
	kombu/tests/utilities/test_encoding.py
	kombu/transport/pika.py
	kombu/transport/zmq.py
	kombu/transport/zookeeper.py
	kombu/utils/__init__.py
	kombu/utils/encoding.py
	kombu/utils/finalize.py
	pavement.py
	requirements/default.txt
2012-11-27 15:48:42 +00:00
Ask Solem ce13d5bd75 Improves unit test coverage 2012-11-27 15:10:13 +00:00
Ask Solem 4589c41fc5 More tests 2012-11-22 14:27:00 +00:00
Ask Solem 9cc13cebe1 Removes pika transport, will wait until pika comes out of experimental its state 2012-11-15 16:05:37 +00:00
Ask Solem c65dc11b81 2.5 depends on amqp < 1.1 2012-11-12 15:43:17 +00:00
Ask Solem 9bc0c44fa3 Now depends on amqp 1.2.0 2012-11-12 15:25:30 +00:00