Git Product home page Git Product logo

Comments (8)

oliverchang avatar oliverchang commented on April 28, 2024

That's really strange...

$ sudo docker run --rm -ti -v $(pwd)/clusterfuzz:/workspace gcr.io/clusterfuzz-images/ci /bin/bash
root@6bcbbf462031:/workspace# pylint --version
No config file found, using default configuration
pylint 1.9.3, 
astroid 1.6.5
Python 2.7.12 (default, Nov 12 2018, 14:36:49) 
[GCC 5.4.0 20160609]
root@6bcbbf462031:/workspace# pylint src/appengine/handlers/upload_testcase.py
No config file found, using default configuration
************* Module src/appengine/handlers/upload_testcase.py
F:  1, 0: No module named src/appengine/handlers/upload_testcase.py (fatal)

from clusterfuzz.

oliverchang avatar oliverchang commented on April 28, 2024

My ENV version is also 1.9.3, but also cannot find this.

from clusterfuzz.

jonathanmetzman avatar jonathanmetzman commented on April 28, 2024

Actually, I may have spoke too soon about 1.9.4 being the fix.
But the part about being unable to repro locally is true. Maybe it's because we have some deps installed in CI that pylint is looking at, but not locally?

from clusterfuzz.

oliverchang avatar oliverchang commented on April 28, 2024

I think the issue may be PYTHONPATH.

In the CI, we have /data/google_appengine:/workspace/src. If I remove the app engine path, it no longer reports that issue. Maybe it's exiting early when it can't import the appengine modules.

from clusterfuzz.

jonathanmetzman avatar jonathanmetzman commented on April 28, 2024

I think the issue may be PYTHONPATH.

Sounds correct to me. I don't actually think it has to do with using 1.9.4 (I think I thought this because of similar issues that came up when I used pylint in a fresh virtualenv)

from clusterfuzz.

jonathanmetzman avatar jonathanmetzman commented on April 28, 2024

It seems to me the pylint result from CI is more accurate than my local one. Do you think the fix is to make CI like local? It seems like making local like pylint on CI is the more ideal fix no?

from clusterfuzz.

jonathanmetzman avatar jonathanmetzman commented on April 28, 2024

Race: looks like you decided this :)

from clusterfuzz.

oliverchang avatar oliverchang commented on April 28, 2024

Yup :) Looks like local was missing results.

from clusterfuzz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.