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

Optimize python parsers. #2346

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/python/pants/base/BUILD
Expand Up @@ -4,10 +4,6 @@
python_library(
name = 'address',
sources = ['address.py'],
dependencies = [
':build_file',
'src/python/pants/util:meta',
]
)

python_library(
Expand Down
2 changes: 0 additions & 2 deletions src/python/pants/base/address.py
Expand Up @@ -8,8 +8,6 @@
import os
from collections import namedtuple

from pants.util.meta import AbstractClass


def parse_spec(spec, relative_to=None):
"""Parses a target address spec and returns the path from the root of the repo to this Target
Expand Down
1 change: 1 addition & 0 deletions src/python/pants/engine/exp/BUILD
Expand Up @@ -6,6 +6,7 @@ python_library(
sources=['addressable.py'],
dependencies=[
'3rdparty/python:six',
':objects',
'src/python/pants/util:meta',
]
)
Expand Down