Bug 244759 - [NEW PORT] devel/py-autoflake: Removes unused imports and unused variables from Python code
Summary: [NEW PORT] devel/py-autoflake: Removes unused imports and unused variables fr...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias C. Berner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-12 15:01 UTC by Goran Mekić
Modified: 2020-03-12 18:28 UTC (History)
1 user (show)

See Also:


Attachments
py-autoflake.diff (2.27 KB, patch)
2020-03-12 15:01 UTC, Goran Mekić
meka: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Goran Mekić 2020-03-12 15:01:15 UTC
Created attachment 212354 [details]
py-autoflake.diff

QA:

  * portlint: OK (looks fine.)
  * testport: OK (poudriere: 12.1, amd64 tested)
  * maketest: OK (108 passed)
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2020-03-12 18:27:44 UTC
Committed. Thanks.
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-03-12 18:28:26 UTC
A commit references this bug:

Author: tcberner
Date: Thu Mar 12 18:27:35 UTC 2020
New revision: 528303
URL: https://svnweb.freebsd.org/changeset/ports/528303

Log:
  New port: devel/py-autoflake: Removes unused imports and unused variables from Python code

  Removes unused imports and unused variables from Python code. It makes use of
  pyflakes to do this.

  By default, autoflake only removes unused imports for modules that are part of
  the standard library. (Other modules may have side effects that make them
  unsafe to remove automatically.) Removal of unused variables is also disabled
  by default.

  WWW: https://github.com/myint/autoflake

  PR:		244759
  Submitted by:	Goran Meki? <meka@tilda.center>

Changes:
  head/devel/Makefile
  head/devel/py-autoflake/
  head/devel/py-autoflake/Makefile
  head/devel/py-autoflake/distinfo
  head/devel/py-autoflake/pkg-descr