| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,26 @@ | |||
| 1 | + [flake8] | ||
| 2 | + | ||
| 3 | + show-source = True | ||
| 4 | + count = True | ||
| 5 | + statistics = True | ||
| 6 | + | ||
| 7 | + # E266 = too many leading '#' for block comment | ||
| 8 | + # E731 = do not assign a lambda expression, use a def | ||
| 9 | + # TC002 = move third party import to TYPE_CHECKING | ||
| 10 | + # TC, TC2 = flake8-type-checking | ||
| 11 | + | ||
| 12 | + # select = C,E,F,W ANN, TC, TC2 # to enable code. Disabled if not listed, including builtin codes | ||
| 13 | + enable-extensions = TC, TC2 # only needed for extensions not enabled by default | ||
| 14 | + | ||
| 15 | + ignore = E266, E731 | ||
| 16 | + | ||
| 17 | + exclude = .tox, .venv, build, dist, doc, git/ext/ | ||
| 18 | + | ||
| 19 | + rst-roles = # for flake8-RST-docstrings | ||
| 20 | + attr, class, func, meth, mod, obj, ref, term, var # used by sphinx | ||
| 21 | + | ||
| 22 | + min-python-version = 3.7.0 | ||
| 23 | + | ||
| 24 | + # for `black` compatibility | ||
| 25 | + max-line-length = 120 | ||
| 26 | + extend-ignore = E203, W503 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,2 +1,3 @@ | |||
| 1 | 1 | test/fixtures/* eol=lf | |
| 2 | - init-tests-after-clone.sh | ||
| 2 | + *.sh eol=lf | ||
| 3 | + /Makefile eol=lf | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1 @@ | |||
| 1 | + github: byron | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,11 @@ | |||
| 1 | + version: 2 | ||
| 2 | + updates: | ||
| 3 | + - package-ecosystem: "github-actions" | ||
| 4 | + directory: "/" | ||
| 5 | + schedule: | ||
| 6 | + interval: "weekly" | ||
| 7 | + | ||
| 8 | + - package-ecosystem: "gitsubmodule" | ||
| 9 | + directory: "/" | ||
| 10 | + schedule: | ||
| 11 | + interval: "weekly" | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,80 @@ | |||
| 1 | + # For most projects, this workflow file will not need changing; you simply need | ||
| 2 | + # to commit it to your repository. | ||
| 3 | + # | ||
| 4 | + # You may wish to alter this file to override the set of languages analyzed, | ||
| 5 | + # or to provide custom queries or build logic. | ||
| 6 | + # | ||
| 7 | + # ******** NOTE ******** | ||
| 8 | + # We have attempted to detect the languages in your repository. Please check | ||
| 9 | + # the `language` matrix defined below to confirm you have the correct set of | ||
| 10 | + # supported CodeQL languages. | ||
| 11 | + # | ||
| 12 | + name: "CodeQL" | ||
| 13 | + | ||
| 14 | + on: | ||
| 15 | + push: | ||
| 16 | + pull_request: | ||
| 17 | + schedule: | ||
| 18 | + - cron: '27 10 * * 3' | ||
| 19 | + | ||
| 20 | + jobs: | ||
| 21 | + analyze: | ||
| 22 | + name: Analyze | ||
| 23 | + # Runner size impacts CodeQL analysis time. To learn more, please see: | ||
| 24 | + # - https://gh.io/recommended-hardware-resources-for-running-codeql | ||
| 25 | + # - https://gh.io/supported-runners-and-hardware-resources | ||
| 26 | + # - https://gh.io/using-larger-runners | ||
| 27 | + # Consider using larger runners for possible analysis time improvements. | ||
| 28 | + runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} | ||
| 29 | + timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} | ||
| 30 | + permissions: | ||
| 31 | + actions: read | ||
| 32 | + contents: read | ||
| 33 | + security-events: write | ||
| 34 | + | ||
| 35 | + strategy: | ||
| 36 | + fail-fast: false | ||
| 37 | + matrix: | ||
| 38 | + language: [ 'python' ] | ||
| 39 | + # CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ] | ||
| 40 | + # Use only 'java-kotlin' to analyze code written in Java, Kotlin or both | ||
| 41 | + # Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both | ||
| 42 | + # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support | ||
| 43 | + | ||
| 44 | + steps: | ||
| 45 | + - name: Checkout repository | ||
| 46 | + uses: actions/checkout@v4 | ||
| 47 | + | ||
| 48 | + # Initializes the CodeQL tools for scanning. | ||
| 49 | + - name: Initialize CodeQL | ||
| 50 | + uses: github/codeql-action/init@v2 | ||
| 51 | + with: | ||
| 52 | + languages: ${{ matrix.language }} | ||
| 53 | + setup-python-dependencies: false | ||
| 54 | + # If you wish to specify custom queries, you can do so here or in a config file. | ||
| 55 | + # By default, queries listed here will override any specified in a config file. | ||
| 56 | + # Prefix the list here with "+" to use these queries and those in the config file. | ||
| 57 | + | ||
| 58 | + # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs | ||
| 59 | + # queries: security-extended,security-and-quality | ||
| 60 | + | ||
| 61 | + | ||
| 62 | + # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift). | ||
| 63 | + # If this step fails, then you should remove it and run the build manually (see below) | ||
| 64 | + - name: Autobuild | ||
| 65 | + uses: github/codeql-action/autobuild@v2 | ||
| 66 | + | ||
| 67 | + # ℹ️ Command-line programs to run using the OS shell. | ||
| 68 | + # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun | ||
| 69 | + | ||
| 70 | + # If the Autobuild fails above, remove it and uncomment the following three lines. | ||
| 71 | + # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. | ||
| 72 | + | ||
| 73 | + # - run: | | ||
| 74 | + # echo "Run, Build Application using script" | ||
| 75 | + # ./location_of_script_within_repo/buildscript.sh | ||
| 76 | + | ||
| 77 | + - name: Perform CodeQL Analysis | ||
| 78 | + uses: github/codeql-action/analyze@v2 | ||
| 79 | + with: | ||
| 80 | + category: "/language:${{matrix.language}}" | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments