Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flake8-deprecated recipe #27860

Merged
merged 2 commits into from
Oct 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions recipes/flake8-deprecated/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{% set name = "flake8-deprecated" %}
{% set version = "2.2.1" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/flake8_deprecated-{{ version }}.tar.gz
sha256: ee96ca001d1ca0561fa8e46f23e2d2460b18a86696373cab644e102ae0ff2aa2

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- python >=3.8
- hatchling
- pip
run:
- python >=3.8
- flake8

test:
imports:
- flake8_deprecated
commands:
- pip check
requires:
- pip

about:
summary: Warns about deprecated method calls
home: https://github.com/gforcada/flake8-deprecated
license: GPL-2.0-only
license_file: LICENSE

extra:
recipe-maintainers:
- traversaro