HomePhabricator

prep v2 (#35)

Description

prep v2 (#35)

  • Create test_get_chanops.py
  • Rename test_get_chanops.py to test/test_get_chanops.py
  • Update workflow.yml
  • Update test_get_chanops.py
  • get_chanops: rework
  • Fix this up a bit
  • update CI
  • Update compatible.yml
  • Update setup.py
  • Update tests

Signed-off-by: MacFan4000 <paulfkeffer@gmail.com>

  • don't exclude __init__.py
  • Update tests

Signed-off-by: MacFan4000 <paulfkeffer@gmail.com>

  • fix ci errors
  • Update tests

Signed-off-by: MacFan4000 <paulfkeffer@gmail.com>

  • more fixes
  • Update tests

Signed-off-by: MacFan4000 <paulfkeffer@gmail.com>

  • Update workflow.yml
  • Update workflow.yml
  • Update workflow.yml
  • add cachedjson to line 49 def
  • try defining cachedjson as a dict
  • forgot to remove from def statement
  • fix cache commands
  • make ci happy
  • Add .deepsource.toml
  • Update .deepsource.toml
  • Update .deepsource.toml
  • Bump setuptools from 51.1.1 to 51.1.2 (#14)

Bumps setuptools from 51.1.1 to 51.1.2.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • Bump styfle/cancel-workflow-action from 0.6.0 to 0.7.0 (#15)

Bumps styfle/cancel-workflow-action from 0.6.0 to 0.7.0.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • Remove unnecessary use of comprehension (#17)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

  • add function to deop after executing a command that required it to op (#16)
  • add function to deop after executing a command that required it to op

If the bot was already opped due to +O or somebody manually opped it, then it won't deop itself

  • fixes
  • fix
  • fix
  • oops
  • fix a code smell
  • fix two more code smells
  • refactor topic a bit
  • fix
  • fix
  • Update __init__.py
  • simplify get_mask
  • Sync (#18)
  • Add .deepsource.toml
  • Update .deepsource.toml
  • Update .deepsource.toml
  • Bump setuptools from 51.1.1 to 51.1.2 (#14)

Bumps setuptools from 51.1.1 to 51.1.2.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • Bump styfle/cancel-workflow-action from 0.6.0 to 0.7.0 (#15)

Bumps styfle/cancel-workflow-action from 0.6.0 to 0.7.0.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • Remove unnecessary use of comprehension (#17)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

Co-authored-by: DeepSource Bot <bot@deepsource.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

  • make deep source happy
  • Update __init__.py
  • Update __init__.py
  • fix more deep source errors
  • Update __init__.py
  • Update .deepsource.toml
  • Update .deepsource.toml
  • Update __init__.py

Co-authored-by: RhinosF1 <rhinosf1@gmail.com>
Co-authored-by: DeepSource Bot <bot@deepsource.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

  • Revert "get_chanops: rework this mess" (#20)
  • Bump setuptools from 51.1.2 to 52.0.0 (#23)

Bumps setuptools from 51.1.2 to 52.0.0.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • Bump pytest from 6.2.1 to 6.2.2 (#24)

Bumps pytest from 6.2.1 to 6.2.2.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • Bump setuptools from 52.0.0 to 53.0.0

Bumps setuptools from 52.0.0 to 53.0.0.

Signed-off-by: dependabot[bot] <support@github.com>

  • Bump sopel-modules-github from 0.4.0 to 0.4.1 (#27)

Bumps sopel-modules-github from 0.4.0 to 0.4.1.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • Bump build from 0.1.0 to 0.2.1 (#29)

Bumps build from 0.1.0 to 0.2.1.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • Bump styfle/cancel-workflow-action from 0.7.0 to 0.8.0 (#30)

Bumps styfle/cancel-workflow-action from 0.7.0 to 0.8.0.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • ci: add new linters (#32)
  • ci: add new linters
  • Update __init__.py
  • Create .flake8
  • Update workflow.yml
  • Update __init__.py
  • Update .flake8
  • Update __init__.py
  • Update __init__.py
  • Update __init__.py
  • Update __init__.py
  • Update tests

Signed-off-by: MacFan4000 <paulfkeffer@gmail.com>

Co-authored-by: MacFan4000 <paulfkeffer@gmail.com>

  • fix parse_host_mask (#34)
  • fix parse_host_mask
  • formatting
  • port global chanops and logging of kicks from sigmabot (#12)
  • port global chanops and logging of kicks from sigmabot
  • fix errors
  • Update codeql-analysis.yml
  • Update workflow.yml
  • Update codeql-analysis.yml
  • Update workflow.yml
  • Update __init__.py
  • Update __init__.py
  • Update __init__.py
  • Update __init__.py
  • Update __init__.py
  • Update __init__.py
  • Update __init__.py
  • fix ci
  • Update __init__.py
  • Update __init__.py
  • Update __init__.py
  • add ability to have default set of chanops defined in json

"default" would be defined like any other channel, if it is defined then it is added to the chanops list, if it isn't then its not added

  • fix
  • Autofix issues in 1 file

Resolved issues in sopel_channelmgnt/channelmgnt/__init__.py via DeepSource Autofix

  • add logic for having a default logging channel
  • fix
  • fixes
  • more fixes
  • Update __init__.py
  • Update .flake8
  • Update __init__.py
  • Update __init__.py
  • try to fix
  • Update __init__.py
  • Update .flake8

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

  • fix issue
  • tweak logic so that per-channel overrides default
  • fix
  • fix
  • revert my changes to parse_host_mask
  • If default chanops/log channel exist and local doesn’t exist then use default
  • Fixes
  • Fix
  • Fix
  • Fix
  • Refactor unnecessary else / elif when if block has a return statement (#36)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

  • Fix deepsource
  • Add Fix Your Connection function; drop #channel support from kick/ban (#31)
  • + fyc function
  • Fix code style errors
  • Autofix issues in 1 file

Resolved issues in sopel_channelmgnt/channelmgnt/__init__.py via DeepSource Autofix

  • Try to define config var
  • ci: add new linters
  • Update __init__.py
  • Create .flake8
  • Update workflow.yml
  • Update __init__.py
  • Update .flake8
  • Update __init__.py
  • Update __init__.py
  • Update .gitignore
  • Update .gitignore
  • fyc: cleanup logic
  • fyc: further cleanup
  • channelmgnt: drop #channel parameter from kickban/fyc/kick
  • Update __init__.py
  • Update __init__.py

Co-authored-by: Devin/Zppix <zppix@miraheze.org>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

  • 2 more cases for deoping
  • Update compatible.yml (#37)
  • compatible: drop windows
  • main-ci: drop windows
  • Send only wheels to pypi (#38)
  • Update workflow.yml
  • Update .flake8
  • Update dev-requirements.txt
  • Update requirements.txt
  • fix
  • Update .gitignore
  • bump to 2.0

Co-authored-by: RhinosF1 <rhinosf1@gmail.com>
Co-authored-by: Devin/Zppix <zppix@miraheze.org>
Co-authored-by: DeepSource Bot <bot@deepsource.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

Details

Provenance
MacFan4000Authored on Sat, Feb 20, 2:13 PM
MirahezeBotCommitted on Sat, Feb 20, 2:13 PM
Parents
rCHMGNT3215f99b3ef2: Merge pull request #10 from MirahezeBots/dev
Branches
Unknown
Tags
Unknown
References
HEAD -> release