Skip to content

Commit

Permalink
Support stub files semantics (fixes serge-sans-paille#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlatr committed Oct 16, 2024
1 parent de126b0 commit adeefb6
Show file tree
Hide file tree
Showing 8 changed files with 629 additions and 31 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
build:
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.2"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
include:
- python-version: 3.6
os: ubuntu-20.04
Expand All @@ -26,11 +26,10 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install setuptools pytest
pip install setuptools
- name: Setup
run: |
pip install .
pip install .[test]
- name: Testing sequential
run: |
pytest --doctest-modules beniget/ tests/
3 changes: 2 additions & 1 deletion beniget/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import absolute_import
from beniget.version import __version__
from beniget.beniget import Ancestors, DefUseChains, UseDefChains
from beniget.beniget import (Ancestors, DefUseChains, UseDefChains, Def,
parse_import, ImportInfo)
Loading

0 comments on commit adeefb6

Please sign in to comment.