Kevin Turner

Avatar
  • Total activity 109
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 1
  • Subscriptions 48
  • Edited

    binding ports with docker-compose and run configurations

    Answered
    Working in a Django project I may have many Python processes running at once: a shell process, a celery worker, tests, in addition to the Django server. The project's Python Interpreter is set to u...
    • 3 followers
    • 1 comment
    • 0 votes
  • Created

    Zero-Latency Typing in PyCharm 5?

    Answered
    Does PyCharm 5 have zero-latency typing?If so, does it still require the tweak to idea.properties to activate it?
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    Watching an object in the debugger indepedent of current frame

    In the debugger, when I put a watch on foo.bar, it seems to evaluate foo.bar in the context of the current stack frame.When I step into the next function, or otherwise go up or down a frame, all th...
    • 1 follower
    • 0 comments
    • 0 votes
  • Created

    How to make Type Checker get along with fake/mock objects?

    I've got some unit tests that use fudge to mock out objects.  The type checker is looking at the function calls in the test and complaining "Expected type 'User', got 'Fake' instead", which is, of ...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    resolving web asset locations

    For scripts and images in HTML files it's "unknown href target", for a url() value in CSS it's an "invalid CSS element" inspection, but every link is flagged as broken.   Where do I configure the s...
    • 1 follower
    • 0 comments
    • 0 votes
  • Created

    How does Go to Test work?

    I'm wondering about "Go to Test" in EAP 108.1348, how does it decide which test goes with what code? 
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    documenting an alternate constructor?

    I have code a little like this:class Base(object):     @classmethod     def alternateConstructor(clazz, x):         self = clazz()         return self class Things(Base):     def frob(self, y):   ...
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    indentation on multiline expressions

    This seems wrong but I can't figure out if it's a bug or there's some editor setting I toggled that makes it this way. Here's a bit of code, formatted the way pycharm seems to want to format it.   ...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    symbol completion without eating existing content

    Say I have something like this: def makeRedThingsBlue(red):     return "blue" def foo():     bar(red1, blue2) and them I'm revising and I realize I want to turn that last line into bar(makeRedThin...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    docstring stubs

    Docstring stub can be handy, but the way they're working right now is frusturating.  I'll open a docstring, and I'll get a few words in, but I guess one of the triggers for stub generation is the s...
    • 2 followers
    • 1 comment
    • 0 votes