Git Product home page Git Product logo

Comments (6)

OrkoHunter avatar OrkoHunter commented on August 29, 2024
  1. Make sure the indentations are properly working. Please send it to me, and I might verify.
  2. Are you using the BOT_USERNAME and BOT_PASSWORD os vars? Tokens don't seem to work here.
  3. .pep8speaks.yml file is taken from the branch of the PR (and not the repository). So, make sure your PR is rebased/updated with the file.

I can only help with these suggestions as of now.

from pep8speaks.

chinskiy avatar chinskiy commented on August 29, 2024

@OrkoHunter thanks for suggestions

  1. I use this configuration example.
  2. Yes, recheck them.
  3. I consider it.
    but I think problem is here because we use organisation and url to .pep8speaks.yml is https://raw.githubusercontent.com/{organisation}/{repository}/{sha}/{file} without user

also I can make curl request to get raw file only with 'Authorization: token {token}' in header. Are you sure that you need to make request with BOT_USERNAME and BOT_PASSWORD?

from pep8speaks.

OrkoHunter avatar OrkoHunter commented on August 29, 2024

but I think problem is here because we use organisation and url to

Doesn't this add the user credentials as auth ?

from pep8speaks.

chinskiy avatar chinskiy commented on August 29, 2024

@OrkoHunter problem is not in user credentials - problem in url.
Here my fix what works with my public and private repo.

I think here can be used repo.full_name from github webhook(url). What you think?

Doesn't this add the user credentials as auth ?

I mean what the reason to use auth if you add auth token
this not related to this issue

from pep8speaks.

OrkoHunter avatar OrkoHunter commented on August 29, 2024

I mean what the reason to use auth if you add auth token

I think this happened because the user token I had generated initially (for working with public repositories) was with minimal permissions and hence I had to add the auth for working with private repositories. Of Course it can work with one only.

from pep8speaks.

chinskiy avatar chinskiy commented on August 29, 2024

PR #37 merged.
Close issue.

from pep8speaks.

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.